Rage of UltronRage of Ultron - Multi-Timeframe Smart Money Trading System
Advanced Confluence-Based Trading Indicator
Rage of Ultron is a comprehensive multi-timeframe trading system that combines Smart Money Concepts (SMC) with macro market context, RSI divergences, liquidity sweeps, and volume analysis to identify high-probability setups across all markets.
Key Features
Multi-Timeframe Alignment
* Weekly Bias - Directional trend context
* Daily Structure - Order Blocks and Fair Value Gaps
* 4H Confirmation - Entry timing and execution
* Real-time MTF alignment scoring (🟢 Bull Aligned / 🔴 Bear Aligned / 🟡 Mixed)
Smart Money Concepts
* Order Blocks (OB) - Institutional entry zones with visual clarity
* Fair Value Gaps (FVG) - Price imbalances and retracement magnets
* Change of Character (CHoCH) - Market structure breaks (▲▼)
* Liquidity Sweeps - Stop hunt detection before reversals (💧)
Technical Analysis
* RSI Divergences - Regular and hidden divergences with zones (◆)
* RSI Swing Failure Patterns - Grade-A reversal setups (★)
* Automatic Fibonacci - Dynamic retracements and extensions
* Volume Impulse Detection - Weighted confirmation signals
Macro Market Radar
* DXY - Dollar strength assessment
* BTC Dominance - Crypto market risk gauge
* USDT Dominance - Stablecoin flow analysis
* Combined risk environment scoring
Confluence Scoring System (0-7)
Quantified setup quality with three alert tiers:
* Tier 1 (Score 6-7): Full confluence + sweep + volume + MTF alignment
* Tier 2 (Score 5): High confluence + volume or sweep
* Tier 3 (Score 4): Standard confluence setups
"Rage" Volume State
* 🟢 RAGE PULSE - Explosive volume spike (score 6+ trigger)
* ⚡ Active - Strong volume with good confluence
* 🟡 Stable - Moderate volume conditions
* 🔴 Dormant - Low volume, wait for confirmation
Visual Design
* Clean Zone Rendering - Persistent OB/FVG boxes with limited extension
* Signal Bar Highlighting - Colored fills and contrasting borders for instant recognition
* Dynamic Symbol Placement - ATR-based offset prevents overlap
* Comprehensive Panel - Real-time macro + trade metrics in one view
* Toggleable Legend - Learn signals, hide once familiar
How to Use
1. Set Your Timeframes - Default 1W/1D/4H works for swing trading
2. Monitor Macro Environment - Check risk-on/off context
3. Wait for Confluence ≥4 - Let multiple signals align
4. Enter on Tier 1/2 Alerts - Best probability setups
5. Use Fib Extensions for Targets - Systematic profit taking
Customizable Settings
* Multi-timeframe periods
* RSI length and divergence sensitivity
* Liquidity sweep parameters
* Fibonacci swing lookback
* Volume thresholds
* Shape offset multiplier
* Visual toggles (Fibs, extensions, legend)
Built-in Alert System
Three-tier alert structure lets you filter by setup quality. Set alerts for Tier 1 only for highest conviction trades, or include Tier 2 for more opportunities.
Best Practices
* Use on clean timeframes - 1H+ for less noise
* Combine with support/resistance - Zones near key levels = highest probability
* Respect the macro - Don't fight extreme risk-off environments
* Wait for the full stack - Best trades have 4+ aligned signals
* Practice on demo first - Learn signal behavior in your market
Works On
* Cryptocurrency (spot & futures)
* Forex pairs
* Stock indices
* Individual stocks
* Commodities
Note: This indicator identifies potential setups but does not guarantee profits. Always use proper risk management, position sizing, and stops. Past performance does not predict future results.
Created by cdotgnz | For educational purposes
Cari skrip untuk "swing trading"
Trend Bars with Counter Table# TradingView Trend Bar Indicator Explained
## Indicator Overview
This is a TradingView indicator designed to identify and count **Trend Bars**. It not only visually marks strong bullish and bearish bars on the chart but also displays a data table in the upper right corner that tracks the distribution of trend bars across different periods, helping traders quickly assess market bias.
## Core Concept: What is a Trend Bar?
The indicator defines two types of trend bars:
### Bull Trend Bar
- **Condition**: Close > Open (bullish candle)
- **Strength Requirement**: Body size ≥ 75% of total candle range
```
Body Length = |Close - Open|
Total Candle Range = High - Low
Criteria: Body Length ≥ 0.75 × Total Candle Range
```
This means both upper and lower wicks are very short, representing a very strong bullish candle.
### Bear Trend Bar
- **Condition**: Close < Open (bearish candle)
- **Strength Requirement**: Body size ≥ 75% of total candle range
Similarly, this represents a strong bearish candle with minimal wicks and a full body.
## Visual Markers
The indicator marks qualifying candles with:
- **Green upward arrow**: Bull trend bar, appears below the candle
- **Red downward arrow**: Bear trend bar, appears above the candle
## Statistical Function
The indicator uses a **rolling array** (storing up to 1000 trend bars) to track historical data, then counts trend bar distribution across 5 different periods:
| Period | Statistical Range |
|--------|------------------|
| Group 1 | Last 7 trend bars |
| Group 2 | Last 15 trend bars |
| Group 3 | Last 21 trend bars |
| Group 4 | Last 29 trend bars |
| Group 5 | Last 35 trend bars |
**Note**: This counts "the last N trend bars," not "the last N candles." Only candles meeting the trend bar criteria are included.
## Data Table Interpretation
The table in the upper right corner contains 5 columns:
1. **Last N**: The set statistical range (7, 15, 21, 29, 35)
2. **Total**: Actual number of trend bars counted (may be less than target initially)
3. **Bull**: Number of bull trend bars (displayed in green)
4. **Bear**: Number of bear trend bars (displayed in red)
5. **Bias**: Market bias
- "bull" (green): More bull trend bars
- "bear" (red): More bear trend bars
## Practical Applications
### 1. Assess Short-term Momentum
Check the distribution of the last 7 trend bars. If bull trend bars dominate (e.g., 5:2), it indicates strong short-term buying pressure.
### 2. Identify Trend Strength
If multiple periods show the same Bias direction, the trend is very clear. For example, all 5 periods showing "bull" is a strong upward signal.
### 3. Spot Trend Reversals
When short-term bias (7 bars) opposes long-term bias (35 bars), it may signal a trend change in progress.
### 4. Combine with Other Indicators
Use this indicator alongside moving averages, support/resistance levels, and other tools to improve trading decision accuracy.
## Technical Highlights
- **Dynamic Array Management**: Uses `array.unshift()` to add new data at the array's beginning, ensuring the latest trend bars are always first
- **Efficient Statistics**: Quickly calculates bull/bear distribution through loop iteration over specified array ranges
- **Adaptive Display**: Shows actual available count when historical data is insufficient
- **Real-time Updates**: Only updates the table on the last bar to avoid unnecessary calculations
## Conclusion
The core value of this indicator lies in **quantifying price action**. By identifying strong candles with full bodies and clear direction, then tracking their distribution, traders can quickly grasp the balance of market forces and make more informed trading decisions. Whether for intraday trading or swing trading, this tool provides valuable reference information.
Quantum Trend Guardian MTF📊 Descripción de Indicador: “Momentum Clarity”
Resumen:
Momentum Clarity es un indicador diseñado para identificar zonas de alta probabilidad de reversión o continuación de tendencia, combinando análisis de volumen, volatilidad y fuerza relativa. Ideal para traders que buscan claridad en momentos de indecisión del mercado.
Características principales:
• 🔍 Detecta divergencias entre precio y momentum.
• 📈 Señala zonas de sobrecompra y sobreventa con mayor precisión que el RSI tradicional.
• 🟢 Incluye alertas visuales para entradas y salidas potenciales.
• 🧠 Compatible con estrategias de scalping, swing y position trading.
Cómo usarlo:
• Utiliza las señales verdes para considerar entradas en largo y las rojas para cortos.
• Confirma con acción del precio y volumen antes de ejecutar.
• Ajusta la sensibilidad según el marco temporal y tu estilo de trading.
Ventajas:
• Reduce el ruido en mercados laterales.
• Mejora la toma de decisiones en zonas de congestión.
• Aumenta la confianza en escenarios de alta volatilidad
Absolutely! Here's the English version of the indicator description:
📊 Indicator Description: “Momentum Clarity”
Overview:
Momentum Clarity is a custom indicator designed to highlight high-probability zones for trend reversals or continuations by combining volume, volatility, and relative strength analysis. It’s ideal for traders seeking clarity during market indecision.
Key Features:
• 🔍 Detects divergences between price and momentum.
• 📈 Identifies overbought and oversold zones with greater precision than traditional RSI.
• 🟢 Includes visual alerts for potential entry and exit points.
• 🧠 Compatible with scalping, swing trading, and long-term strategies.
How to Use:
• Use green signals to consider long entries and red signals for short positions.
• Confirm with price action and volume before executing trades.
• Adjust sensitivity based on your timeframe and trading style.
Benefits:
• Reduces noise in sideways markets.
• Enhances decision-making in consolidation zones.
• Builds confidence in volatile environments.
If you’d like, I can tailor this description to match your specific indicator’s logic, name, and purpose. Just share a few details and I’ll refine it for publication.
ZOBAKAFXAI – Price Action Swing SetupThe ZOBAKAFXAI Price Action Swing Setup is a swing trading indicator that helps traders identify clear market structure, trend direction, and potential entry/exit zones using EMA and pivot-based price action.
🔹 Features:
✅ Automatically detects swing highs & swing lows (market structure)
✅ EMA-based trend direction filter (EMA50 / EMA200)
✅ Higher timeframe trend filter option (4H bias on lower TFs)
✅ ATR-based Stop Loss & TP calculation
✅ TP1 / TP2 / TP3 based on Risk-to-Reward ratio
✅ Works on all pairs – Forex, Gold, Crypto, Indices
✅ Clean design – ideal for 4H swing trading
🔹 How to Use:
Trade in the direction of the EMA trend
Buy when price forms a higher low above EMA & breaks previous swing high
Sell when price forms a lower high below EMA & breaks previous swing low
Stop Loss = ATR × selected multiplier
TP levels are auto-calculated based on Risk/Reward (2R, 3R, etc.)
⚠ Disclaimer:
This script is for educational and technical analysis purposes only. It is not financial advice. Always use risk management.
Moving Average ProjectionDisplays 2-5 moving averages (solid lines) and projects their future trajectory (dashed lines) based on current trend momentum. This helps you anticipate where key MAs are heading and identify potential future support/resistance levels.
Important: Projections show where MAs would move IF the current trend continues—they're not predictions. Market conditions change, so use projections as planning tools, not trading signals.
General Settings
Number of MAs (2-5) controls how many moving averages display on your chart. Start with 2-3 to avoid clutter. Projection Bars (1-100) determines how far into the future to project—use 10-20 for intraday charts and 20-40 for daily charts. Lookback for Slope (2-100) sets the number of bars used to calculate trend slope, where shorter lookbacks are more responsive and longer ones are smoother. The default of 20 works well for most situations.
Individual MA Settings (MA 1-5)
Each MA has four settings: Length sets the period for the MA (common values are 9, 20, 50, 100, and 200), Type lets you choose between SMA, EMA, WMA, HMA, VWMA, or RMA (EMA is most popular), Color sets the historical MA line color, and Projection Color sets the projected line color (usually a lighter or transparent version of the main color).
MA Types Quick Reference: EMA is most popular and responsive to recent prices. SMA gives equal weight to all periods and is the smoothest. HMA is very responsive with low lag. VWMA incorporates volume data.
Quick Setup Examples
Day Trading: 3 MAs (9/21/50 EMA), 10-15 projection bars, 10-15 lookback
Swing Trading: 2 MAs (50/200 EMA), 20-30 projection bars, 20 lookback
Scalping: 2 MAs (9/20 EMA), 5-10 projection bars, 5-10 lookback
How to Use
Trend Identification: An uptrend shows price above rising MAs with projections pointing up. A downtrend shows price below falling MAs with projections pointing down. Consolidation appears as flat MAs with horizontal projections.
Support & Resistance: Rising MA projections act as future dynamic support levels, while falling MA projections act as future dynamic resistance levels.
Anticipating Changes: Watch for projected MA crossovers before they happen. When projections converge, expect volatility or consolidation. Steep projections suggest unsustainable trends, so be cautious. Flat projections indicate ranging markets.
Trade Planning: Check the current trend using MA alignment, then look at projections to gauge trend continuation likelihood. Use projected MA levels for potential targets or stop placement.
Important Tips
When Projections Work Best: Projections are most reliable in stable trending markets with consistent momentum, low volatility environments, and away from major news events.
When to Be Cautious: Use caution during high volatility or choppy price action, around major economic releases, when projections show extreme or parabolic angles, and during trend transitions.
Combine With Other Analysis: Don't trade projections alone. Use them alongside price action, volume, support and resistance levels, and other indicators for confirmation.
Best Practices
Start with 2-3 MAs to avoid chart clutter. Match your projection and lookback bars to your trading timeframe. Use consistent color schemes for quick interpretation. Adjust settings as market conditions change. Always use proper risk management—projections are planning tools, not guarantees.
Troubleshooting
Projections not showing: Check that Projection Bars > 0 and you're viewing the most recent bar
Chart too cluttered: Reduce number of MAs or increase projection color transparency
Projections too volatile: Increase lookback bars or switch to EMA/SMA from HMA
Can't see certain MAs: Verify "Number of MAs" setting includes them (MA 3 won't show if set to 2)
Order Blocks with Buy/Sell Signals (3M Capital) The optimal timeframes for trading with the "Order Blocks with Signals" indicator (a Pine Script tool that identifies swing-based pivot points, projects order block zones using percentile calculations from historical price and bar deltas, and generates buy/sell signals at new pivots) depend on factors like the asset class (e.g., forex, crypto, stocks), market volatility, and the trader's style (scalping, day trading, or swing trading). The indicator's core logic relies on a swing length of 20 periods to detect highs/lows, which covers varying real-world time spans depending on the chart timeframe—e.g., ~1.7 hours on a 5-minute chart, ~20 hours on a 1-hour chart, or ~20 days on a daily chart. This makes it versatile, but it performs best where swings are meaningful and noise is manageable.Based on analysis of similar order block indicators and strategies on TradingView, here's a breakdown of recommended timeframes:1. Short-Term Trading (Scalping or Quick Intraday Trades)
Recommended Timeframes: 5-minute (M5) to 30-minute (M30) charts.
Why It Works Well: These capture short-term momentum shifts and frequent signals from minor swings. The zone projections (based on the 75th percentile of past deltas by default) can forecast quick price extensions, allowing for rapid entries on buy/sell labels (e.g., enter long on a "Buy" signal at a bullish pivot, targeting the zone's projected end). Use tight stops above/below the pivot and aim for 1:1 to 1:2 risk-reward. Backtesting on M30 has shown good accuracy for order block detection in pairs like EUR/USD.
Tips for This Indicator: If signals feel noisy, increase the swing length (e.g., to 30-50) to filter smaller swings, or enable "No Overlapping Zones" to avoid clutter. Avoid very low TFs like 1-minute if volatility is high, as percentile-based zones may overproject.
2. Medium-Term Trading (Day Trading or Short Swing Trades)Recommended Timeframes: 1-hour (H1) to 4-hour (H4) charts.
Why It Works Well: These strike a balance between reliability and frequency. Order blocks on H1/H4 tend to represent institutional interest (e.g., areas of limit order accumulation), making signals more predictive. The indicator's forward-projecting zones can anticipate moves over several hours to a day, ideal for holding trades through sessions. Examples from gold (XAU/USD) and forex pairs show strong performance here, with H4 often used to spot liquidity zones tied to order blocks.
3. Long-Term Trading (Swing or Position Trades)Recommended Timeframes: Daily (D1) or higher (e.g., weekly).
Why It Works Well: Higher TFs reduce false signals from noise, and the zones project significant moves (e.g., weeks to months). This aligns with the indicator's percentile approach, which draws from up to 1,000 past reversals for robust stats. Signals are rarer but higher-probability, suitable for trend-following.
Tips for This Indicator: Enable "Show Only Last Zone" for cleaner charts. Normalization (if enabled) helps with percentage-based assets like crypto.
General Strategy Tips Across TimeframesMulti-Timeframe Approach (Highly Recommended): Identify key order blocks on a higher timeframe (e.g., H4 or D1 for structure) and switch to a lower timeframe (e.g., M15 or H1) for precise entries on signals. This filters noise and aligns with smart money concepts—refine broad zones by checking for breaks of structure or fair value gaps on the lower TF. The indicator isn't inherently multi-timeframe (MTF), but it can be applied manually across charts or modified to incorporate MTF data if needed.
Asset Considerations: For volatile markets like crypto (e.g., BTC/USDT), favor M5-H1 to catch quick reversals. For forex/commodities, H1-H4 excels due to session-based liquidity.
Customization and Testing: Adjust the zone percentile (default 75) lower for tighter zones on short TFs or higher for expansive ones on long TFs. Always backtest on historical data for the specific asset—e.g., the indicator's signals have shown effectiveness on M15-M30 for intraday setups.
Risk Management: Trade in the direction of the overall trend; use the projected zone end as a take-profit target, and place stops beyond the pivot price.
This guidance is drawn from established order block trading practices, where higher TFs provide consistency while lower ones offer timing.
ATR Daniel# ATR Daniel - Indicator Description
## 🇬🇧 ENGLISH VERSION
### ATR Daniel - Smart Trailing Stop Manager
**ATR Daniel** is an intelligent trailing stop indicator that automatically adapts to your trading style and the asset you're trading.
#### Key Features:
**🎯 3 Trading Modes:**
- **Swing Trading** - For position trading with wider stops
- **Intraday** - For day trading with balanced parameters
- **Scalping** - For quick trades with tight stops
**📊 Automatic Asset Detection:**
The indicator automatically recognizes 3 major assets and applies optimized parameters:
- **XAUUSD (Gold)** - Lower volatility settings
- **BTCUSDT (Bitcoin)** - Medium volatility settings
- **NAS100USD (Nasdaq 100)** - Higher volatility settings
**🔧 Flexible Configuration:**
- **Auto Mode**: Applies optimal parameters based on detected asset and selected trading mode
- **Manual Mode**: Customize ATR length and multiplier to your preferences
- **Customizable Colors**: Choose your own line color
- **ON/OFF Display**: Toggle line visibility as needed
**📈 Visual Display:**
- Dynamic trailing stop line that follows price action
- Color changes based on trend direction (bullish/bearish)
- Real-time info table showing:
- Current asset
- Trading mode
- ATR value
- Stop loss distance
- Recommended SL price
- Current trend direction
- Signal arrows at trend reversals (optional)
**💡 How It Works:**
The indicator uses ATR (Average True Range) to calculate dynamic stop loss levels that adapt to market volatility. The trailing stop follows the price in trending markets while protecting your position.
**Perfect for:**
- Traders who want automated stop loss management
- Multi-asset traders (Gold, Bitcoin, Nasdaq)
- All trading styles (Swing, Intraday, Scalping)
---
Jackpot_By_Rao_Gs_Swng_Pbls🎯 Description
Jackpot_By_Rao_Gs_Swng_Pbls is a precision-based intraday and swing trading automation tool designed for NIFTY options, built to identify high-probability BUY CE and BUY PE opportunities.
The script automatically tracks ITM (In-the-Money) option pairs derived from the live NIFTY spot price and calculates breakout/breakdown setups based on recent swing highs and lows, EMA alignment, and RSI confirmation.
Once a valid breakout condition is met, the script generates:
Visual chart signals with complete trade details (Entry, Stop Loss, Targets)
Dynamic JSON alerts for webhook-based auto order placement
Automated trade management (Target, SL, and Exit logic)
It’s optimized for traders using Dhan API or compatible webhook integrations, enabling one-click or automated trade execution directly from TradingView alerts.
⚙️ Core Features
✅ Auto-calculates current ATM and ITM strike codes based on today’s open price
✅ Identifies breakout/breakdown trades from the previous swing levels
✅ Dynamic EMA-based trend filter (EMA 20 vs EMA 50)
✅ RSI check for directional strength (internally calculated)
✅ Full trade details shown on the chart with 5 target levels
✅ Auto JSON alert generation with webhook-ready payload
✅ Built-in Stop Loss and Exit handling logic
✅ Visual markers for CE (Green arrows) and PE (Red arrows)
✅ Adjustable parameters for expiry date, open price, and swing length
📈 Trade Logic Overview
🔹 BUY CE Condition (Bullish Setup):
EMA20 > EMA50 → Bullish trend confirmation
Spot closes below recent swing low
CE Option price below its recent high
Confirmation candle closes above previous open (if green) or above midpoint (if red)
🔹 BUY PE Condition (Bearish Setup):
EMA50 > EMA20 → Bearish trend confirmation
Spot closes above recent swing high
PE Option price below its recent high
Confirmation candle closes below previous close/midpoint depending on color
Each signal automatically plots a BUY label on the chart showing:
Entry Price
Stop Loss
Targets 1–5
Strike Code
Trigger Time |
ATR_XAUUSD-BITCOINT-US100_Daniel# ATR Daniel - Indicator Description
## 🇬🇧 ENGLISH VERSION
### ATR Daniel - Smart Trailing Stop Manager
**ATR Daniel** is an intelligent trailing stop indicator that automatically adapts to your trading style and the asset you're trading.
#### Key Features:
**🎯 3 Trading Modes:**
- **Swing Trading** - For position trading with wider stops
- **Intraday** - For day trading with balanced parameters
- **Scalping** - For quick trades with tight stops
**📊 Automatic Asset Detection:**
The indicator automatically recognizes 3 major assets and applies optimized parameters:
- **XAUUSD (Gold)** - Lower volatility settings
- **BTCUSDT (Bitcoin)** - Medium volatility settings
- **NAS100USD (Nasdaq 100)** - Higher volatility settings
**🔧 Flexible Configuration:**
- **Auto Mode**: Applies optimal parameters based on detected asset and selected trading mode
- **Manual Mode**: Customize ATR length and multiplier to your preferences
- **Customizable Colors**: Choose your own line color
- **ON/OFF Display**: Toggle line visibility as needed
**📈 Visual Display:**
- Dynamic trailing stop line that follows price action
- Color changes based on trend direction (bullish/bearish)
- Real-time info table showing:
- Current asset
- Trading mode
- ATR value
- Stop loss distance
- Recommended SL price
- Current trend direction
- Signal arrows at trend reversals (optional)
**💡 How It Works:**
The indicator uses ATR (Average True Range) to calculate dynamic stop loss levels that adapt to market volatility. The trailing stop follows the price in trending markets while protecting your position.
**Perfect for:**
- Traders who want automated stop loss management
- Multi-asset traders (Gold, Bitcoin, Nasdaq)
- All trading styles (Swing, Intraday, Scalping)
---
True Opens & Key Levels# True Opens & Key Levels - Standalone Indicator Guide
## Overview
This is a clean, focused indicator that displays only key level rays and true open levels. All impulsive series detection, FVG detection, and Fibonacci projections have been removed for a minimal, uncluttered chart experience.
---
## Features Included
### 📊 Previous Period Levels
- **Previous Day High/Low** - Daily reference points
- **Previous Week High/Low** - Weekly reference points
- **Previous Month High/Low** - Monthly reference points
### 🕐 Session High/Low Levels
- **NY AM Session** (9:30-12:00 ET) - Morning session range
- **NY Lunch Session** (12:00-13:30 ET) - Lunch hour range
- **NY PM Session** (13:30-16:00 ET) - Afternoon session range
- **London Session** (2:00-5:00 ET) - London trading hours
- **Asia Session** (20:00-00:00 ET) - Asian market hours
### 🎯 True Open Levels (NEW)
- **True Day Open** - Updates daily at 00:00 ET
- **True Session Open** - Updates every 6 hours (1:30, 7:30, 13:30, 19:30 ET)
- **True Week Open** - Updates every Monday at 18:00 ET
---
## Settings
### Key Level Rays Group
**Master Toggle:**
- Enable Key Level Rays (master on/off switch)
**Previous Period Levels:**
- Show Previous Day H/L
- Show Previous Week H/L
- Show Previous Month H/L
**Session Levels:**
- Show NY AM H/L (9:30-12:00 ET)
- Show NY Lunch H/L (12:00-13:30 ET)
- Show NY PM H/L (13:30-16:00 ET)
- Show London H/L (2:00-5:00 ET)
- Show Asia H/L (20:00-00:00 ET)
**True Open Levels:**
- Show True Day Open (00:00)
- Show True Session Open (6h intervals)
- Show True Week Open (Mon 18:00)
**Visual Settings:**
- High Level Color (default: red with 50% transparency)
- Low Level Color (default: green with 50% transparency)
- Open Level Color (default: blue with 50% transparency)
- Ray Line Width (1-5 pixels)
- Ray Label Size (tiny/small/normal/large)
---
## How It Works
### Level Behavior
**Session High/Low Levels:**
1. During session: Tracks the highest high and lowest low
2. After session ends: Draws horizontal rays extending right
3. When price hits level: Ray stops extending (hit marker)
4. Label updates position to stay at chart's right edge
**Previous Period Levels:**
1. At period change: Draws rays from previous period's H/L
2. Extends right until price hits the level
3. When hit: Ray stops extending
4. Label positions at midpoint of ray
**True Open Levels:**
1. At trigger time: Draws ray from opening price
2. Extends right until next trigger
3. Previous level is deleted when new one appears
4. Label stays at right edge of chart
---
## Color Scheme
### Three Color Categories:
1. **Red** - All HIGH levels (session highs, previous highs)
2. **Green** - All LOW levels (session lows, previous lows)
3. **Blue** - All OPEN levels (True Day/Session/Week Opens)
This makes it instantly clear what type of level you're looking at.
---
## Best Practices
### For Intraday Trading (1m-1H):
```
Enable:
✓ True Day Open
✓ True Session Open
✓ NY AM/PM H/L
✓ Previous Day H/L
Disable:
✗ Previous Week/Month H/L
✗ London/Asia sessions (unless trading them)
✗ True Week Open
```
### For Swing Trading (1H-4H):
```
Enable:
✓ True Week Open
✓ True Day Open
✓ Previous Week H/L
✓ Previous Day H/L
Disable:
✗ All session H/L
✗ True Session Open
✗ Previous Month H/L
```
### For Clean Charts:
```
Enable:
✓ True Day Open
✓ True Week Open
✓ Previous Day H/L only
Disable:
✗ Everything else
Result: Just 4 levels on chart - super clean!
```
---
## Level Update Schedule
| Level | Update Frequency | Time(s) |
|---------------------|------------------|-----------------------------|
| True Day Open | Daily | 00:00 ET |
| True Session Open | Every 6 hours | 1:30, 7:30, 13:30, 19:30 ET |
| True Week Open | Weekly | Monday 18:00 ET |
| Previous Day H/L | Daily | At day change |
| Previous Week H/L | Weekly | At week change |
| Previous Month H/L | Monthly | At month change |
| NY AM H/L | Daily | After 12:00 ET |
| NY Lunch H/L | Daily | After 13:30 ET |
| NY PM H/L | Daily | After 16:00 ET |
| London H/L | Daily | After 5:00 ET |
| Asia H/L | Daily | After 00:00 ET |
---
## File Size & Performance
- **File Size:** ~22 KB (less than half the size of full indicator)
- **Total Lines:** ~700 lines
- **Max Lines/Labels:** 500 (configurable in declaration)
- **Performance:** Lightweight, minimal CPU usage
- **Memory:** Efficient variable management
---
## Installation
1. Open TradingView
2. Open Pine Editor (Alt+E or bottom toolbar)
3. Click "Create new indicator"
4. Delete default code
5. Copy and paste contents of `TRUE_OPENS_KEY_LEVELS.pine`
6. Click "Save" and name it "True Opens & Key Levels"
7. Click "Add to Chart"
---
## Usage Tips
### 1. Start Minimal
Begin with just 2-3 levels enabled:
- True Day Open
- Previous Day High
- Previous Day Low
Add more as needed.
### 2. Color Customization
Adjust transparency for cleaner look:
- High Level: Red 60-70% transparency
- Low Level: Green 60-70% transparency
- Open Level: Blue 60-70% transparency
### 3. Multi-Timeframe Approach
Lower timeframes (1m-15m): Use True Session Open + NY session H/L
Mid timeframes (15m-1H): Use True Day Open + Previous Day H/L
Higher timeframes (1H-4H): Use True Week Open + Previous Week H/L
### 4. Line Width
For cleaner charts, use Line Width = 1
For emphasis, use Line Width = 2-3
### 5. Label Size
Smaller screens: Use "small" or "tiny"
Larger screens: Use "normal"
Presentations: Use "large"
---
## Advantages of Standalone Version
✅ **Cleaner Charts** - No detection lines or arrows
✅ **Faster Loading** - Less code to process
✅ **Easier Setup** - Fewer settings to configure
✅ **Pure Levels** - Focus only on key price levels
✅ **Less Distraction** - No moving parts during trading
✅ **Perfect for Combining** - Use with other indicators without clutter
---
## Combining with Other Indicators
This lightweight indicator works great alongside:
- RSI / Stochastic (oscillators)
- Moving Averages (trend)
- Volume Profile (structure)
- VWAP (intraday reference)
- Your own custom indicators
The minimal chart footprint leaves room for additional tools.
---
## Time Zones
All times are in **Eastern Time (ET)**. TradingView automatically converts to your local timezone, so you don't need to manually adjust anything.
**Example Conversions:**
- 00:00 ET = 05:00 UTC
- 18:00 ET = 23:00 UTC
- 13:30 ET = 18:30 UTC
---
## Support & Updates
This is a standalone version of the True Opens & Key Levels from the full GOTE Indicator. It contains only the level detection code with all series detection removed.
**Version:** 1.0
**Pine Script Version:** 6
**Last Updated:** November 8, 2025
---
## Quick Reference Card
```
╔══════════════════════════════════════════════════════════╗
║ TRUE OPENS & KEY LEVELS - QUICK REFERENCE ║
╠══════════════════════════════════════════════════════════╣
║ ║
║ 📊 PREVIOUS PERIODS ║
║ • Previous Day/Week/Month High/Low ║
║ • Updates at period change ║
║ ║
║ 🕐 SESSION LEVELS ║
║ • NY AM/Lunch/PM, London, Asia H/L ║
║ • Updates after each session ║
║ ║
║ 🎯 TRUE OPENS ║
║ • True Day: Daily 00:00 ET ║
║ • True Session: 1:30/7:30/13:30/19:30 ET ║
║ • True Week: Monday 18:00 ET ║
║ ║
║ 🎨 COLORS ║
║ • Red = Highs • Green = Lows • Blue = Opens ║
║ ║
╚══════════════════════════════════════════════════════════╝
```
---
**Ready to trade with clean, focused key levels!** 🎯
VMS Multi Index Options Buying Indicator📊 VMS Multi-Index Options Buying Indicator – Consolidated Overview
________________________________________
🎯 What It Is
A professional-grade options trading system that analyses multiple technical parameters to generate quantified buy signals for call and put options. It includes:
• Integrated risk management
• Multi-layered confirmation
• Quantified strength scores
________________________________________
⚡ Core Functionality
• Dual Analysis System: Call and put analysis running simultaneously
• Multi-Timeframe Analysis: Intraday to swing trading
• Quantified Scoring: Objective 0–7 strength scoring system
• Holistic Market View: Combines technicals, levels, volume, and momentum into a single signal
________________________________________
🔧 Technical Components
1. VMS Core Momentum System
• VMS SQZM Momentum: Primary oscillator (must be positive for both calls and puts)
• VMS Index Trends: Short-term and medium-term alignment
• Strength Scoring: 7-point system evaluating multiple parameters
2. Support/Resistance Levels (L0–L10)
Level Significance Options Trading Application
L00–L02 Strong Support Ideal for CALL BUY entries
L05 Critical Decision Point Wait for confirmation
L08–L9 Strong Resistance Ideal for PUT BUY entries
3. ATR Trend System
• Green Lines: Bullish momentum (favour calls)
• Red Lines: Bearish momentum (favour puts)
• ▲/▼ Triangles: Primary entry signals
• +L/+S Signals: Add-to-position opportunities
4. Volume Confirmation
• Real-time buy/sell volume analysis
• Cumulative volume trends
• Bullish/bearish candle counts
• Net volume direction confirmation
5. Spread Analysis
• Call-put spread direction and momentum
• Market sentiment gauge
• Options flow implications
________________________________________
📈 Signal Generation
Strength-Based Signals
• STRONG BUY: ≥4/7 strength points + clear advantage
• WEAK BUY: 3–3.9/7 strength points + modest advantage
• NO TRADE: All other scenarios
Critical Rules
• Both call and put VMS SQZM must be positive for any trade
• A clear strength advantage is required over the opposite option
• Volume confirmation enhances signal reliability
________________________________________
🧩 Ideal Trade Setups
Call Buy Setup
if (call_strength >= 4 and
call_strength > put_strength and
val_call > 0 and val_put > 0 and
ATR_trend_green and
price_near_support and
volume_bullish and
spread_positive_expanding):
execute_strong_call_buy()
Put Buy Setup
if (put_strength >= 4 and
put_strength > call_strength and
val_put > 0 and val_call > 0 and
ATR_trend_red and
price_near_resistance and
volume_bearish and
spread_negative_contracting):
execute_strong_put_buy()
________________________________________
📊 Dashboard Interpretation Guide
Section Call Buy Signal Put Buy Signal Critical Check
Spread Positive + Expanding Negative + Contracting Must confirm direction
VMS SQZM Green + Positive Green + Positive Both must be positive
Strength ≥4 & > Put ≥4 & > Call Primary decision factor
Squeeze "ON" preferred "ON" preferred Increases probability
Levels Near L00–L02 Near L08–L10 Confluence adds confidence
ATR Green + Rising Red + Falling Trend alignment
Volume Bullish patterns Bearish patterns Must confirm signal
________________________________________
⏰ Timeframe-Specific Strategies
Intraday Trading (5–15 min)
• Monitor strength changes every candle
• Use +L/+S for quick scalp entries
• Exit before last 30 minutes
• Tighter stops (50% premium)
Swing Trading (1H–Daily)
• Require ≥4.5 strength scores
• Focus on major level breaks (L00, L05, L10)
• Use wider stops (60% premium)
• Hold until the opposite signal generation
________________________________________
🛡️ Risk Management Integration
• Automatic position sizing based on signal strength
• Built-in exit triggers and stop-loss levels
• Daily trade limits and risk controls
________________________________________
💡 Unique Value
• Quantified scoring removes emotional trading
• Multiple confirmation layers reduce false signals
• Comprehensive dashboard for quick decision-making
• Options-specific analysis (not generic indicators)
________________________________________
🚨 Quick Decision Flowchart
1. Start → Check strength scores
2. Call ≥4 & > Put? → Yes → Check VMS SQZM >0? → Yes → ✅ Strong Call Buy
3. Put ≥4 & > Call? → Yes → Check VMS SQZM >0? → Yes → ✅ Strong Put Buy
4. Call ≥3 & > Put? → Yes → ✅ Weak Call Buy (reduced size)
5. Put ≥3 & > Call? → Yes → ✅ Weak Put Buy (reduced size)
6. ❌ No Trade – Wait for better setup
________________________________________
⚠️ Important Note
This is a decision support tool – not a guaranteed profit system. It requires:
• Proper risk management
• Trading experience
• Integration into a comprehensive trading strategy
Ideal for traders who want a systematic approach, objective signals, options focus, and multiple confirmation layers.
🎯 VMS Multi-Index Options Buying Indicator - MASTER CHEAT SHEET
📊 QUICK DECISION MATRIX
🟢 CALL BUY SIGNALS (All Must Align)
Component Strong Signal Weak Signal
Strength ≥4 & > Put 3-3.9 & > Put
VMS SQZM Both Positive Both Positive
Spread Positive + Expanding Positive
ATR Green + Rising Green
Levels L00-L02 Near Support
Volume Bullish Confirmed Mixed Bullish
Squeeze ON Any
🔴 PUT BUY SIGNALS (All Must Align)
Component Strong Signal Weak Signal
Strength ≥4 & > Call 3-3.9 & > Call
VMS SQZM Both Positive Both Positive
Spread Negative + Contracting Negative
ATR Red + Falling Red
Levels L08-L10 Near Resistance
Volume Bearish Confirmed Mixed Bearish
Squeeze ON Any
________________________________________
⚡ INSTANT EXECUTION RULES
✅ STRONG TRADES (High Conviction)
# STRONG CALL BUY
if (call_strength >= 4 and
call_strength > put_strength and
val_call > 0 and val_put > 0):
execute_call_buy()
# STRONG PUT BUY
if (put_strength >= 4 and
put_strength > call_strength and
val_put > 0 and val_call > 0):
execute_put_buy()
🟡 WEAK TRADES (Reduced Size Only)
if strength >= 3 and strength > opposite_strength:
execute_weak_trade() # 30-50% normal size
❌ NO TRADE CONDITIONS
if (any_vms_sqzm_negative or
both_strengths >= 3 or
strength < 3 or
no_clear_advantage):
AVOID_TRADE()
________________________________________
🎯 CONFIRMATION HIERARCHY
PERFECT CALL SETUP
1. ✅ Strength: Call ≥4, Put < Call
2. ✅ VMS SQZM: Both positive
3. ✅ Spread: Positive & Expanding
4. ✅ ATR: Green + Rising
5. ✅ Levels: Near L00-L02 support
6. ✅ Volume: Bullish confirmation
7. ✅ Squeeze: ON
PERFECT PUT SETUP
1. ✅ Strength: Put ≥4, Call < Put
2. ✅ VMS SQZM: Both positive
3. ✅ Spread: Negative & Contracting
4. ✅ ATR: Red + Falling
5. ✅ Levels: Near L08-L10 resistance
6. ✅ Volume: Bearish confirmation
7. ✅ Squeeze: ON
________________________________________
📈 POSITION MANAGEMENT
🎚️ Sizing Matrix
Signal Strength Position Size Stop Loss Profit Target
≥4 (STRONG) 70-80% normal 50-60% premium 1:1 R:R + Trail
3-3.9 (WEAK) 30-50% normal 40-50% premium Quick 1:1
<3 (NO TRADE) 0% N/A N/A
🚪 Exit Triggers
• Stop Loss: 50-60% premium loss OR VMS SQZM turns negative
• Profit Taking: 50% at 1:1, trail balance using VMS Index
• Signal Exit: Opposite strength reaches ≥3 OR current strength drops below entry
________________________________________
⏰ TIMEFRAME STRATEGIES
🔄 Intraday (5-15 min)
• Monitor strength changes every candle
• Exit before last 30 minutes
• Tighter stops (50% premium)
• Use +L/+S for quick scalps
📅 Swing (1H-Daily)
• Require ≥4.5 strength scores
• Focus on major level breaks
• Wider stops (60% premium)
• Hold until opposite signal
________________________________________
🛡️ RISK MANAGEMENT
📉 Daily Limits
• Max Trades: 3 per day
• Max Risk: 2% capital per trade
• Loss Limit: Stop after 2 consecutive losses
• Portfolio: Never trade both call/put simultaneously
🧠 Psychological Rules
1. Wait for clear signals - don't force
2. Respect strength scoring - no overrides
3. Stick to position sizing - no revenge trading
4. Accept "NO TRADE" as valid outcome
________________________________________
🚀 QUICK START FLOW
1. CHECK Strength Scores
2. CONFIRM VMS SQZM Both Positive
3. VALIDATE Spread Direction
4. ALIGN ATR Trend
5. CONFIRM Volume & Levels
6. EXECUTE or WAIT
________________________________________
📊 VMS DASHBOARD FLOWCHART
START → Check Strength Scores
↓
→ YES → → YES → 🟢 STRONG CALL
↓ NO ↓ NO
→ YES → → YES → 🔴 STRONG PUT
↓ NO ↓ NO
→ YES → 🟡 WEAK CALL (Reduce Size)
↓ NO
→ YES → 🟡 WEAK PUT (Reduce Size)
↓ NO
❌ NO TRADE - Wait
________________________________________
⚠️ CRITICAL REMINDERS
• MUST: Both VMS SQZM positive for ANY trade
• MUST: Clear strength advantage (≥0.5 difference)
• PREFER: Volume confirmation for maximum size
• AVOID: Trading during news events
• RESPECT: Daily risk limits
________________________________________
💡 SUCCESS FORMULA
Patience + Confirmation + Risk Management = Consistent Results
Wait for ≥4 strength signals with multiple confirmations, always use proper position sizing, and journal every trade.
Happy Trading! 📈
Remember: This system provides probabilities, not guarantees. Always trade with proper risk management and within your financial means.
chart Pattern & Candle sticks Strategy# **XAUUSD Pattern & Candle Strategy - Complete Description**
## **Overview**
This Pine Script indicator is a comprehensive multi-factor trading system specifically designed for **XAUUSD (Gold) scalping and swing trading**. It combines classical technical analysis methods including candlestick patterns, chart patterns, moving averages, and volume analysis to generate high-probability buy/sell signals with automatic stop-loss and take-profit levels.
***
## **Core Components**
### **1. Moving Average System (Triple MA)**
**Purpose:** Identifies trend direction and momentum
- **Fast MA (20-period)** - Short-term price action
- **Medium MA (50-period)** - Intermediate trend
- **Slow MA (200-period)** - Long-term trend direction
**How it works:**
- **Bullish alignment**: MA20 > MA50 > MA200 (all pointing up)
- **Bearish alignment**: MA20 < MA50 < MA200 (all pointing down)
- **Crossover signals**: When Fast MA crosses Medium MA, it triggers buy/sell signals
- **Choice of SMA or EMA**: Adjustable based on preference
**Visual indicators:**
- Blue line = Fast MA
- Orange line = Medium MA
- Light red line = Slow MA
- Green background tint = Bullish trend
- Red background tint = Bearish trend
---
### **2. Candlestick Pattern Recognition (13 Patterns)**
**Purpose:** Identifies reversal and continuation signals based on price action
#### **Bullish Patterns (Signal potential upward moves):**
1. **Hammer** 🔨
- Long lower wick (2x body size)
- Small body at top
- Indicates rejection of lower prices (buyers stepping in)
- Best at support levels
2. **Inverted Hammer**
- Long upper wick
- Small body at bottom
- Shows buying pressure despite initial selling
3. **Bullish Engulfing** 📈
- Green candle completely engulfs previous red candle
- Strong reversal signal
- Body must be 1.2x larger than previous
4. **Morning Star** ⭐
- 3-candle pattern
- Red candle → Small indecision candle → Large green candle
- Powerful reversal at bottoms
5. **Piercing Line** ⚡
- Green candle closes above 50% of previous red candle
- Indicates strong buying interest
6. **Bullish Marubozu**
- Almost no wicks (95% body)
- Very strong bullish momentum
- Body must be 1.3x average size
#### **Bearish Patterns (Signal potential downward moves):**
7. **Shooting Star** 💫
- Long upper wick
- Small body at bottom
- Indicates rejection of higher prices (sellers in control)
- Best at resistance levels
8. **Hanging Man**
- Similar to hammer but appears at top
- Warning of potential reversal down
9. **Bearish Engulfing** 📉
- Red candle completely engulfs previous green candle
- Strong reversal signal
10. **Evening Star** 🌙
- 3-candle pattern (opposite of Morning Star)
- Green → Small → Large red candle
- Powerful top reversal
11. **Dark Cloud Cover** ☁️
- Red candle closes below 50% of previous green candle
- Indicates strong selling pressure
12. **Bearish Marubozu**
- Almost no wicks, pure red body
- Very strong bearish momentum
#### **Neutral Pattern:**
13. **Doji**
- Open and close nearly equal (tiny body)
- Indicates indecision
- Often precedes major moves
**Detection Logic:**
- Compares body size, wick ratios, and position relative to previous candles
- Uses 14-period average body size as reference
- All patterns validated against volume confirmation
***
### **3. Chart Pattern Recognition**
**Purpose:** Identifies major support/resistance and reversal patterns
#### **Patterns Detected:**
**Double Bottom** 📊 (Bullish)
- Two lows at approximately same level
- Indicates strong support
- Breakout above neckline triggers buy signal
- Most reliable at major support zones
**Double Top** 📊 (Bearish)
- Two highs at approximately same level
- Indicates strong resistance
- Breakdown below neckline triggers sell signal
- Most reliable at major resistance zones
**Support & Resistance Levels**
- Automatically plots recent pivot highs (resistance)
- Automatically plots recent pivot lows (support)
- Uses 3-bar strength for validation
- Levels shown as dashed horizontal lines
**Price Action Patterns**
- **Uptrend detection**: Higher highs + higher lows
- **Downtrend detection**: Lower highs + lower lows
- Confirms overall market structure
***
### **4. Volume Analysis**
**Purpose:** Confirms signal strength and filters false signals
**Metrics tracked:**
- **Volume MA (20-period)**: Baseline average volume
- **High volume threshold**: 1.5x the volume average
- **Volume increase**: Current volume > previous 2 bars
**How it's used:**
- All buy/sell signals **require volume confirmation**
- High volume = institutional participation
- Low volume signals are filtered out
- Prevents whipsaw trades during quiet periods
**Visual indicator:**
- Dashboard shows "High" volume in orange when active
- "Normal" shown in gray during low volume
***
### **5. Signal Generation Logic**
**BUY SIGNALS triggered when ANY of these occur:**
1. **Candlestick + Volume**
- Bullish candle pattern detected
- High volume confirmation
- Price above Fast MA
2. **MA Crossover + Volume**
- Fast MA crosses above Medium MA
- High volume confirmation
3. **Double Bottom Breakout**
- Price breaks above support level
- Volume confirmation present
4. **Trend Continuation**
- Uptrend structure intact (higher highs/lows)
- All MAs in bullish alignment
- Price above Fast MA
- Volume confirmation
**SELL SIGNALS triggered when ANY of these occur:**
1. **Candlestick + Volume**
- Bearish candle pattern detected
- High volume confirmation
- Price below Fast MA
2. **MA Crossunder + Volume**
- Fast MA crosses below Medium MA
- High volume confirmation
3. **Double Top Breakdown**
- Price breaks below resistance level
- Volume confirmation present
4. **Trend Continuation**
- Downtrend structure intact (lower highs/lows)
- All MAs in bearish alignment
- Price below Fast MA
- Volume confirmation
***
### **6. Risk Management System**
**Automatic Stop Loss Calculation:**
- Based on ATR (Average True Range) - 14 periods
- **Formula**: Entry price ± (ATR × SL Multiplier)
- **Default multiplier**: 1.5 (adjustable)
- Adapts to market volatility automatically
**Automatic Take Profit Calculation:**
- **Formula**: Entry price ± (ATR × TP Multiplier)
- **Default multiplier**: 2.5 (adjustable)
- **Default Risk:Reward ratio**: 1:1.67
- Higher TP multiplier = more aggressive targets
**Position Management:**
- Tracks ONE position at a time (no pyramiding)
- Automatically closes position when:
- Stop loss is hit
- Take profit is reached
- Opposite MA crossover occurs
- Prevents revenge trading and over-leveraging
**Visual Representation:**
- **Red horizontal line** = Stop Loss level
- **Green horizontal line** = Take Profit level
- Lines remain on chart while position is active
- Automatically disappear when position closes
***
### **7. Visual Elements**
**On-Chart Displays:**
1. **Moving Average Lines**
- Fast MA (Blue, thick)
- Medium MA (Orange, thick)
- Slow MA (Red, thin)
2. **Support/Resistance**
- Green crosses = Support levels
- Red crosses = Resistance levels
3. **Buy/Sell Arrows**
- Large GREEN "BUY" label below bars
- Large RED "SELL" label above bars
4. **Pattern Labels** (Small markers)
- "Hammer", "Bull Engulf", "Morning Star" (green, below bars)
- "Shooting Star", "Bear Engulf", "Evening Star" (red, above bars)
- "Double Bottom" / "Double Top" (blue/orange)
5. **Signal Detail Labels** (Medium size)
- Shows signal reason (e.g., "Bullish Candle", "MA Cross Up")
- Displays Entry, SL, and TP prices
- Color-coded (green for long, red for short)
6. **Background Coloring**
- Light green tint = Bullish MA alignment
- Light red tint = Bearish MA alignment
***
### **8. Information Dashboard**
**Top-right corner table showing:**
| Metric | Description |
|--------|-------------|
| **Position** | Current trade status (LONG/SHORT/None) |
| **MA Trend** | Overall trend direction (Bullish/Bearish/Neutral) |
| **Volume** | Current volume status (High/Normal) |
| **Pattern** | Last detected candlestick pattern |
| **ATR** | Current volatility measurement |
**Purpose:**
- Quick at-a-glance market assessment
- Real-time position tracking
- No need to check multiple indicators
***
### **9. Alert System**
**Complete alert coverage for:**
✅ **Entry Alerts**
- "Buy Signal" - Triggers when buy conditions met
- "Sell Signal" - Triggers when sell conditions met
✅ **Exit Alerts**
- "Long TP Hit" - Take profit reached on long position
- "Long SL Hit" - Stop loss triggered on long position
- "Short TP Hit" - Take profit reached on short position
- "Short SL Hit" - Stop loss triggered on short position
**How to use:**
1. Click "Create Alert" button
2. Select desired alert from dropdown
3. Set notification method (popup, email, SMS, webhook)
4. Never miss a trade opportunity
***
## **Recommended Settings**
### **For Scalping (Quick trades):**
- **Timeframe**: 5-minute
- **Fast MA**: 9
- **Medium MA**: 21
- **Slow MA**: 50
- **SL Multiplier**: 1.0
- **TP Multiplier**: 2.0
- **Volume Threshold**: 1.5x
### **For Swing Trading (Longer holds):**
- **Timeframe**: 1-hour or 4-hour
- **Fast MA**: 20
- **Medium MA**: 50
- **Slow MA**: 200
- **SL Multiplier**: 2.0
- **TP Multiplier**: 3.0
- **Volume Threshold**: 1.3x
### **Best Trading Hours for XAUUSD:**
- **Asian Session**: 00:00 - 08:00 GMT (lower volatility)
- **London Session**: 08:00 - 16:00 GMT (high volatility) ⭐
- **New York Session**: 13:00 - 21:00 GMT (highest volume) ⭐
- **London-NY Overlap**: 13:00 - 16:00 GMT (BEST for scalping) 🔥
***
## **How to Use This Strategy**
### **Step 1: Setup**
1. Open TradingView
2. Load XAUUSD chart
3. Select timeframe (5m, 15m, 1H, or 4H)
4. Add indicator from Pine Editor
5. Adjust settings based on your trading style
### **Step 2: Wait for Signals**
- Watch for GREEN "BUY" or RED "SELL" labels
- Check the signal reason in the detail label
- Verify dashboard shows favorable conditions
- Confirm volume is "High" (not required but preferred)
### **Step 3: Enter Trade**
- Enter at market or limit order near signal price
- Note the displayed Entry, SL, and TP prices
- Set your broker's SL/TP to match indicator levels
### **Step 4: Manage Position**
- Watch for SL/TP lines on chart
- Monitor dashboard for trend changes
- Exit manually if opposite MA crossover occurs
- Let SL/TP do their job (don't move them!)
### **Step 5: Review & Learn**
- Track win rate over 20+ trades
- Adjust multipliers if needed
- Note which patterns work best for you
- Refine entry timing
***
## **Key Advantages**
✅ **Multi-confirmation approach** - Reduces false signals significantly
✅ **Automatic risk management** - No manual calculation needed
✅ **Adapts to volatility** - ATR-based SL/TP adjusts to market conditions
✅ **Volume filtered** - Ensures institutional participation
✅ **Visual clarity** - Easy to understand at a glance
✅ **Complete alert system** - Never miss opportunities
✅ **Pattern education** - Learn patterns as they appear
✅ **Works on all timeframes** - Scalping to swing trading
***
## **Limitations & Considerations**
⚠️ **Not a holy grail** - No strategy wins 100% of trades
⚠️ **Requires practice** - Demo trade first to understand signals
⚠️ **Market conditions matter** - Works best in trending or volatile markets
⚠️ **News events** - Avoid trading during major economic releases
⚠️ **Slippage on 5m** - Fast markets may have execution delays
⚠️ **Pattern subjectivity** - Some patterns may trigger differently than expected
***
## **Risk Management Rules**
1. **Never risk more than 1-2% per trade**
2. **Maximum 3 positions per day** (avoid overtrading)
3. **Don't trade during major news** (NFP, FOMC, etc.)
4. **Use proper position sizing** (0.01 lot per $100 for micro accounts)
5. **Keep trade journal** (track patterns, win rate, mistakes)
6. **Stop trading after 3 consecutive losses** (psychological reset)
7. **Don't move stop loss further away** (accept losses)
8. **Take partial profits** at 1:1 R:R if desired
***
## **Expected Performance**
**Realistic expectations:**
- **Win rate**: 50-65% (depending on market conditions and timeframe)
- **Risk:Reward**: 1:1.67 default (adjustable to 1:2 or 1:3)
- **Signals per day**: 3-8 on 5m, 1-3 on 1H
- **Best months**: High volatility periods (news events, economic uncertainty)
- **Drawdowns**: Expect 3-5 losing trades in a row occasionally
***
## **Customization Options**
All inputs are adjustable in settings panel:
**Moving Averages:**
- Type (SMA or EMA)
- All three period lengths
**Volume:**
- Volume MA length
- High volume multiplier threshold
**Chart Patterns:**
- Pattern strength (bars for pivot detection)
- Show/hide pattern labels
**Risk Management:**
- ATR period
- Stop loss multiplier
- Take profit multiplier
**Display:**
- Toggle pattern labels
- Customize colors (in code)
***
## **Conclusion**
This is a **professional-grade, multi-factor trading system** that combines the best of classical technical analysis with modern risk management. It's designed to give clear, actionable signals while automatically handling the complex calculations of stop loss and take profit levels.
**Best suited for traders who:**
- Understand basic technical analysis
- Can follow rules consistently
- Prefer systematic approach over gut feeling
- Want visual confirmation before entering trades
- Value proper risk management
**Start with demo trading** for at least 20-30 trades to understand how the signals work in different market conditions. Once comfortable and profitable on demo, transition to live trading with minimal risk per trade.
Happy trading! 📈🎯
XAUUSD Best Strategy - Buy/Sell SignalsThe best strategy to trade XAUUSD (gold) often depends on your trading style and market conditions, but several high-probability approaches are recommended by top traders and industry experts for both scalping and swing trading.
Trend-Following Using EMAs
Use a combination of 9-period and 21-period Exponential Moving Averages (EMA) on the 5-minute or 15-minute chart.
Enter long when the 9 EMA crosses above the 21 EMA, especially when overall trend aligns with higher timeframes (such as H1 or H4).
Confirm entries with an RSI value above 50 for buys (or below 50 for sells).
Set stop loss just below the latest swing low for long positions.
Ideal for fast-moving, trending sessions (London and New York overlap).
Miggy Oscillator — NeoWave v7.4.3 Adaptive ProMiggy Oscillator — NeoWave v7.4.3 Adaptive Pro
Miggy Oscillator — NeoWave v7.4.3 Adaptive Pro is an adaptive market oscillator built to identify trend reversals, momentum exhaustion, and liquidity pivot zones across multiple timeframes.
It combines NeoWave-style wave phase detection, volatility-adjusted threshold bands, and contextual divergence logic to deliver reliable reversal signals for Scalp, Intraday, and Swing trading.
Key Concepts
This script introduces a custom wave-phase engine that estimates the current stage of market structure rather than simply combining existing indicators.
It uses asymmetric momentum smoothing and ATR-based volatility scaling to adapt naturally between calm and high-volatility environments.
Divergences are context-aware: they only trigger when both momentum inflection and wave-phase confirmation align, minimizing false signals common to classic RSI or MACD tools.
How It Works
Wave Phase Detection
Calculates the relative position of price within impulsive or corrective phases based on momentum deviation from a dynamic baseline.
Adaptive Threshold Bands
Expands or contracts automatically with real-time volatility to keep sensitivity consistent across different market regimes.
Divergence and Exhaustion Logic
Bullish divergence: price forms a lower low while the oscillator forms a higher low during a corrective phase.
Bearish divergence: price forms a higher high while the oscillator forms a lower high during an impulsive phase.
Exhaustion tags appear when the oscillator pierces an adaptive band and momentum slope weakens.
Mode System
Scalp Mode: high sensitivity, short reaction window.
Intraday Mode: balanced sensitivity and confirmation.
Swing Mode: slower reaction, wide filters for large-scale moves.
Optional Long-Only Bias
Filters out short setups to focus on bullish structures.
How to Use
Choose the operational mode based on your timeframe.
Monitor interactions between the oscillator and outer bands for possible exhaustion or divergence.
Confirm the signal using structure or candle confirmation.
Manage risk:
Tight stops for Scalp mode (1–5 min).
ATR-based stops for Intraday mode (5–30 min).
Structural stops for Swing mode (1H+).
For better accuracy, combine it with Miggy Wave AI or Miggy Fibonacci Matrix to find confluence zones.
Inputs and Customization
Mode Selector: Scalp / Intraday / Swing
Sensitivity Control
Band Multiplier (threshold width)
Divergence Confirmation Bars
Long-Only Option
Color Presets: Miggy Neon (default), Solana Glow, Arctic Pulse, or custom
Signal Labels On/Off
Alert Language: EN or ES
Alerts
Available alert conditions:
Bullish Reversal Detected
Bearish Reversal Detected
Momentum Exhaustion Near Band
Example alert text:
Miggy Oscillator — Bullish reversal detected (Mode: {mode})
Miggy Oscillator — Bearish reversal detected (Mode: {mode})
Miggy Oscillator — Momentum exhaustion near {upper/lower} band
Best Practices
Always confirm divergence with price structure or higher timeframe context.
Avoid taking counter-trend signals in strong trends without confirmation.
Adjust Band Multiplier or switch mode during extreme volatility.
Works on Crypto, Forex, Stocks, Indices, and Commodities.
Limitations
This is not an automated trading system.
It is a technical analysis tool intended to help visualize momentum imbalances and potential reversals.
Performance depends on market conditions and trader confirmation.
Versioning and License
Uses TradingView’s Update feature for improvements (no separate minor releases).
Any future legacy fork will be explained clearly in the description.
License: MIT (open source).
Developed by Miggy.io / Mr. Migraine — 2025.
Publication Compliance
English-only title and description.
No emojis or special characters.
Original adaptive algorithm with detailed explanation.
Clear usage instructions.
Suitable for a clean chart publication preview.
LONG/SHORT Signals by YCGH CapitalThis indicator uses volatility as its primary input to help identify potential market
bottoms and tops. By measuring extreme price movements and volatility spikes, it generates
signals for both long (buy) and short (sell) opportunities.
BEST SUITED FOR:
This indicator works best when the market is in a clear trend - either uptrend or downtrend.
It excels at catching reversal points within trending markets and identifying exhaustion
points where trends may reverse.
HOW TO USE THIS INDICATOR:
1. IDENTIFY SIGNAL TYPES:
• Long Filtered (Dark Blue, Tiny): Conservative buy signals with higher probability
• Long Aggressive (Aqua, Small): Early buy signals for catching bottoms faster
• Short Filtered (Dark Red, Tiny): Conservative sell signals with confirmation
• Short Aggressive (Orange, Small): Early sell signals for catching tops
2. TRADING APPROACHES:
Conservative Traders:
- Focus only on Filtered signals (tiny arrows)
- Wait for full confirmation before entering
- Lower risk, fewer trades, higher win rate
Aggressive Traders:
- Use Aggressive signals (small arrows) for earlier entries
- Accept more risk for potentially larger profits
- More trades, catch moves from the beginning
Balanced Approach:
- Use Aggressive signals to spot opportunities early
- Confirm with Filtered signals or use them to add to positions
- Scale in with Aggressive, scale out with opposite signals
3. RISK MANAGEMENT:
- Always use stop losses below recent swing lows (long) or above swing highs (short)
- Risk less per trade on Aggressive signals (they have more false signals)
- Risk more per trade on Filtered signals (higher probability setups)
- Consider the broader trend - signals aligned with trend work better
4. COMBINATION STRATEGIES:
- Use with trend indicators (moving averages) to filter signals
- Combine with support/resistance levels for higher probability entries
- Look for signals near key price levels for best results
- Use volume confirmation to validate signal strength
5. TIMEFRAME RECOMMENDATIONS:
- 15min-1H charts: Day trading with quick reversals
- 4H-Daily charts: Swing trading with multi-day holds (RECOMMENDED)
- Weekly charts: Position trading for long-term trend reversals
IMPORTANT NOTES:
- Not all signals will result in profitable trades
- Best performance in trending markets, may produce false signals in sideways/choppy conditions
- Combine with your own analysis and risk management rules
- Past performance does not guarantee future results
Blavk Terminal By Blavk Core Capitals- Open📘 Blavk Terminal
Multi-Indicator Trend & Momentum Detection System
Overview:
The Blavk Terminal indicator helps traders identify breakout and breakdown zones, market trend direction, and volatility conditions. It combines multiple well-known analytical concepts to generate reliable visual and alert-based trading signals.
🔍 Core Concepts
Trend Analysis: Uses layered moving averages (short to long-term) to identify price direction and trend strength.
Momentum Detection: Applies RSI-based logic to highlight potential breakout (bullish) and breakdown (bearish) areas.
Volatility Filter: Integrates ATR-based dynamic ranges to show stop-loss, target, and volatility status, helping traders manage positions more efficiently.
Volume Tracking: Displays both current candle volume and daily cumulative volume to assess participation strength.
⚙️ How to Use
On 15-minute charts, it can assist with swing trading and short-term momentum entries.
On daily, it helps with position or long-term holdings by confirming broader trend direction.
Traders can monitor green breakout/breakdown labels, confirm trend bias using moving averages, and use the displayed ATR levels for risk management.
💡 Conceptual Summary
Blavk Terminal integrates trend-following (moving averages), momentum confirmation (RSI), and volatility control (ATR) into a single tool.
This combination helps identify high-probability opportunities and supports decision-making across both short-term swing trades and long-term positional holds.
⚠️ Disclaimer
This indicator is for educational and analytical purposes only. It does not provide financial advice or guaranteed outcomes. Always backtest and apply risk management before live trading.
@blavkcorecapitals
Nic SMA 9, SMA 200, 9 count📈 ESSENTIAL TREND & MOMENTUM OVERLAY INDICATOR
This powerful overlay indicator combines moving averages and the 9 count pattern on your main chart, giving you critical trend and reversal signals without cluttering your screen.
🎯 USE AS A PACKAGE:
For optimal trading analysis, use this indicator together with "Nic RSI top + MACD bottom" which combines RSI and MACD into a single pane. Together, these two indicators give you a complete technical analysis setup while staying within the 2-3 indicator limit for free TradingView accounts.
📈 WHAT'S INCLUDED:
✅ SMA 9 (9-day Simple Moving Average):
• Default red line for short-term trend identification
• Fully customizable period and color
• Perfect for identifying quick momentum shifts
✅ SMA 200 (200-day Simple Moving Average):
• Default white line for long-term trend direction
• Fully customizable period and color
• Classic indicator for major support/resistance levels
✅ The 9 Count Pattern:
• Displays numbers 7, 8, and 9 when the pattern completes
• Buy signals (teal/cyan labels) appear below price when downtrend exhausts
• Sell signals (red labels) appear above price when uptrend exhausts
• Helps identify potential trend reversals and exhaustion points
• Only shows the critical final three counts for clarity
• Customizable label colors
⚙️ CUSTOMIZATION OPTIONS:
• Adjust SMA 9 length and color
• Adjust SMA 200 length and color
• Toggle the 9 count display on/off
• Customize buy and sell label colors
• All components can be independently controlled
💡 WHY USE THIS?
• Combines 3 essential tools into one overlay indicator
• Clean chart layout - no separate panes needed
• Classic moving averages you're already familiar with
• Powerful reversal pattern identification
• Perfect for swing trading and position trading
• Saves indicator slots for free account users
📋 RECOMMENDED SETUP:
1. Add this "Nic SMA 9, SMA 200, 9 count" indicator to your main chart
2. Add "Nic RSI top + MACD bottom" indicator (published separately)
3. Optionally add Volume indicator if you have a slot available
This gives you moving averages, the 9 count pattern, RSI, and MACD - everything you need for comprehensive technical analysis!
🔔 WORKS WITH FREE ACCOUNTS:
Both indicators in the Nic package are designed to maximize your analysis capabilities within TradingView's indicator limits.
📊 HOW TO USE:
• When price is above SMA 200, focus on long opportunities
• When price is below SMA 200, focus on short opportunities
• SMA 9 crossovers with SMA 200 signal potential trend changes
• The 9 count appearing suggests the current trend may be exhausting
• Combine with RSI and MACD for confirmation
#MovingAverages #SMA #TrendAnalysis #ReversalPattern #FreeIndicators #TechnicalAnalysis
Smart Money Flow Index (SMFI) - Advanced SMC [PhenLabs]📊Smart Money Flow Index (SMFI)
Version: PineScript™v6
📌Description
The Smart Money Flow Index (SMFI) is an advanced Smart Money Concepts implementation that tracks institutional trading behavior through multi-dimensional analysis. This comprehensive indicator combines volume-validated Order Block detection, Fair Value Gap identification with auto-mitigation tracking, dynamic Liquidity Zone mapping, and Break of Structure/Change of Character detection into a unified system.
Unlike basic SMC indicators, SMFI employs a proprietary scoring algorithm that weighs five critical factors: Order Block strength (validated by volume), Fair Value Gap size and recency, proximity to Liquidity Zones, market structure alignment (BOS/CHoCH), and multi-timeframe confluence. This produces a Smart Money Score (0-100) where readings above 70 represent optimal institutional setup conditions.
🚀Points of Innovation
Volume-Validated Order Block Detection – Only displays Order Blocks when formation candle exceeds customizable volume multiplier (default 1.5x average), filtering weak zones and highlighting true institutional accumulation/distribution
Auto-Mitigation Tracking System – Fair Value Gaps and Order Blocks automatically update status when price mitigates them, with visual distinction between active and filled zones preventing trades on dead levels
Proprietary Smart Money Score Algorithm – Combines weighted factors (OB strength 25%, FVG proximity 20%, Liquidity 20%, Structure 20%, MTF 15%) into single 0-100 confidence rating updating in real-time
ATR-Based Adaptive Calculations – All distance measurements use 14-period Average True Range ensuring consistent function across any instrument, timeframe, or volatility regime without manual recalibration
Dynamic Age Filtering – Automatically removes liquidity levels and FVGs older than configurable thresholds preventing chart clutter while maintaining relevant levels
Multi-Timeframe Confluence Integration – Analyzes higher timeframe bias with customizable multipliers (2-10x) and incorporates HTF trend direction into Smart Money Score for institutional alignment
🔧Core Components
Order Block Engine – Detects institutional supply/demand zones using characteristic patterns (down-move-then-strong-up for bullish, up-move-then-strong-down for bearish) with minimum volume threshold validation, tracks mitigation when price closes through zones
Fair Value Gap Scanner – Identifies price imbalances where current candle's low/high leaves gap with two-candle-prior high/low, filters by minimum size percentage, monitors 50% fill for mitigation status
Liquidity Zone Mapper – Uses pivot high/low detection with configurable lookback to mark swing points where stop losses cluster, extends horizontal lines to visualize sweep targets, manages lifecycle through age-based removal
Market Structure Analyzer – Tracks pivot progression to identify trend through higher-highs/higher-lows (bullish) or lower-highs/lower-lows (bearish), detects Break of Structure and Change of Character for trend/reversal confirmation
Scoring Calculation Engine – Evaluates proximity to nearest Order Blocks using ATR-normalized distance, assesses FVG recency and distance, calculates liquidity proximity with age weighting, combines structure bias and MTF trend into smoothed final score
🔥Key Features
Customizable Display Limits – Control maximum Order Blocks (1-10), Liquidity Zones (1-10), and FVG age (10-200 bars) to maintain clean charts focused on most relevant institutional levels
Gradient Strength Visualization – All zones render with transparency-adjustable coloring where stronger/newer zones appear more solid and weaker/older zones fade progressively providing instant visual hierarchy
Educational Label System – Optional labels identify each zone type (Bullish OB, Bearish OB, Bullish FVG, Bearish FVG, BOS) with color-coded text helping traders learn SMC concepts through practical application
Real-Time Smart Money Score Dashboard – Top-right table displays current score (0-100) with color coding (green >70, yellow 30-70, red <30) plus trend arrow for at-a-glance confidence assessment
Comprehensive Alert Suite – Configurable notifications for Order Block formation, Fair Value Gap detection, Break of Structure events, Change of Character signals, and high Smart Money Score readings (>70)
Buy/Sell Signal Integration – Automatically plots triangle markers when Smart Money Score exceeds 70 with aligned market structure and fresh Order Block detection providing clear entry signals
🎨Visualization
Order Block Boxes – Shaded rectangles extend from formation bar spanning high-to-low of institutional candle, bullish zones in green, bearish in red, with customizable transparency (80-98%)
Fair Value Gap Zones – Rectangular areas marking imbalances, active FVGs display in bright colors with adjustable transparency, mitigated FVGs switch to gray preventing trades on filled zones
Liquidity Level Lines – Dashed horizontal lines extend from pivot creation points, swing highs in bearish color (short targets above), swing lows in bullish color (long targets below), opacity decreases with age
Structure Labels – "BOS" labels appear above/below price when Break of Structure confirmed, colored by direction (green bullish, red bearish), positioned at 1% beyond highs/lows for visibility
Educational Info Panel – Bottom-right table explains key terminology (OB, FVG, BOS, CHoCH) and score interpretation (>70 high probability) with semi-transparent background for readability
📖Usage Guidelines
General Settings
Show Order Blocks – Default: On, toggles visibility of institutional supply/demand zones, disable when focusing solely on FVGs or Liquidity
Show Fair Value Gaps – Default: On, controls FVG zone display including active and mitigated imbalances
Show Liquidity Zones – Default: On, manages liquidity line visibility, disable on lower timeframes to reduce clutter
Show Market Structure – Default: On, toggles BOS/CHoCH label display
Show Smart Money Score – Default: On, controls score dashboard visibility
Order Block Settings
OB Lookback Period – Default: 20, Range: 5-100, controls bars scanned for Order Block patterns, lower values detect recent activity, higher values find older blocks
Min Volume Multiplier – Default: 1.5, Range: 1.0-5.0, sets minimum volume threshold as multiple of 20-period average, higher values (2.0+) filter for strongest institutional candles
Max Order Blocks to Display – Default: 3, Range: 1-10, limits simultaneous Order Blocks shown, lower settings (1-3) maintain focus on most recent zones
Fair Value Gap Settings
Min FVG Size (%) – Default: 0.3, Range: 0.1-2.0, defines minimum gap size as percentage of close price, lower values detect micro-imbalances, higher values focus on significant gaps
Max FVG Age (bars) – Default: 50, Range: 10-200, removes FVGs older than specified bars, lower settings (10-30) for scalping, higher (100-200) for swing trading
Show FVG Mitigation – Default: On, displays filled FVGs in gray providing visual history, disable to show only active untouched imbalances
Liquidity Zone Settings
Liquidity Lookback – Default: 50, Range: 20-200, sets pivot detection period for swing highs/lows, lower values (20-50) mark shorter-term liquidity, higher (100-200) identify major swings
Max Liquidity Age (bars) – Default: 100, Range: 20-500, removes liquidity lines older than specified bars, adjust based on timeframe
Liquidity Sensitivity – Default: 0.5, Range: 0.1-1.0, controls pivot detection sensitivity, lower values mark only major swings, higher values identify minor swings
Max Liquidity Zones to Display – Default: 3, Range: 1-10, limits total liquidity levels shown maintaining chart clarity
Market Structure Settings
Pivot Length – Default: 5, Range: 3-15, defines bars to left/right for pivot validation, lower values (3-5) create sensitive structure breaks, higher (10-15) filter for major shifts
Min Structure Move (%) – Default: 1.0, Range: 0.1-5.0, sets minimum percentage move required between pivots to confirm structure change
Multi-Timeframe Settings
Enable MTF Analysis – Default: On, activates higher timeframe trend analysis incorporation into Smart Money Score
Higher Timeframe Multiplier – Default: 4, Range: 2-10, multiplies current timeframe to determine analysis timeframe (4x on 15min = 1hour)
Visual Settings
Bullish Color – Default: Green (#089981), sets color for bullish Order Blocks, FVGs, and structure elements
Bearish Color – Default: Red (#f23645), defines color for bearish elements
Neutral Color – Default: Gray (#787b86), controls color of mitigated zones and neutral elements
Show Educational Labels – Default: On, displays text labels on zones identifying type (OB, FVG, BOS), disable once familiar with patterns
Order Block Transparency – Default: 92, Range: 80-98, controls Order Block box transparency
FVG Transparency – Default: 92, Range: 80-98, sets Fair Value Gap zone transparency independently from Order Blocks
Alert Settings
Alert on Order Block Formation – Default: On, triggers notification when new volume-validated Order Block detected
Alert on FVG Formation – Default: On, sends alert when Fair Value Gap appears enabling quick response to imbalances
Alert on Break of Structure – Default: On, notifies when BOS or CHoCH confirmed
Alert on High Smart Money Score – Default: On, alerts when Smart Money Score crosses above 70 threshold indicating high-probability setup
✅Best Use Cases
Order Block Retest Entries – After Break of Structure, wait for price retrace into fresh bullish Order Block with Smart Money Score >70, enter long on zone reaction targeting next liquidity level
Fair Value Gap Retracement Trading – When price creates FVG during strong move then retraces, enter as price approaches unfilled gap expecting institutional orders to continue trend
Liquidity Sweep Reversals – Monitor price approaching swing high/low liquidity zones against prevailing Smart Money Score trend, after stop hunt sweep watch for rejection into premium Order Block/FVG
Multi-Timeframe Confluence Setups – Identify alignment when current timeframe Order Block coincides with higher timeframe FVG plus MTF analysis showing matching trend bias
Break of Structure Continuations – After BOS confirms trend direction, trade pullbacks to nearest Order Block or FVG in direction of structure break using Smart Money Score >70 as entry filter
Change of Character Reversal Plays – When CHoCH detected indicating potential reversal, look for Smart Money Score pivot with opposing Order Block formation then enter on structure confirmation
⚠️Limitations
Lagging Pivot Calculations – Pivot-based features (Liquidity Zones, Market Structure) require bars to right of pivot for confirmation, meaning these elements identify levels retrospectively with delay equal to lookback period
Whipsaw in Ranging Markets – During choppy conditions, Order Blocks fail frequently and structure breaks produce false signals as Smart Money Score fluctuates without clear institutional bias, best used in trending markets
Volume Data Dependency – Order Block volume validation requires accurate volume data which may be incomplete on Forex pairs or limited in crypto exchange feeds
Subjectivity in Scoring Weights – Proprietary 25-20-20-20-15 weighting reflects general institutional behavior but may not optimize for specific instruments or market regimes, user cannot adjust factor weights
Visual Complexity on Lower Timeframes – Sub-hour timeframes generate excessive zones creating cluttered charts, requires aggressive display limit reduction and higher minimum thresholds
No Fundamental Integration – Indicator analyzes purely technical price action and volume without incorporating economic events, news catalysts, or fundamental shifts that override technical levels
💡What Makes This Unique
Unified SMC Ecosystem – Unlike indicators displaying Order Blocks OR FVGs OR Liquidity separately, SMFI combines all three institutional concepts plus market structure into single cohesive system
Proprietary Confidence Scoring – Rather than manual setup assessment, automated Smart Money Score quantifies probability by weighting five institutional dimensions into actionable 0-100 rating
Volume-Filtered Quality – Eliminates weak Order Blocks forming without institutional volume confirmation, ensuring displayed zones represent genuine accumulation/distribution
Adaptive Lifecycle Management – Automatically updates mitigation status and removes aged zones preventing trades on dead levels through continuous validity and age monitoring
Educational Integration – Built-in tooltips, labeled zones, and reference panel make indicator functional for both learning Smart Money Concepts and executing strategies
🔬How It Works
Order Block Detection – Scans for patterns where strong directional move follows counter-move creating last down-candle before rally (bullish OB) or last up-candle before sell-off (bearish OB), validates formations only when candle exhibits volume exceeding configurable multiple (default 1.5x) of 20-bar average volume
Fair Value Gap Identification – Compares current candle’s high/low against two-candles-prior low/high to detect price imbalances, calculates gap size as percentage of close and filters micro-gaps below minimum threshold (default 0.3%), monitors whether subsequent price fills 50% triggering mitigation status
Liquidity Zone Mapping – Employs pivot detection using configurable lookback (default 50 bars) to identify swing highs/lows where retail stops cluster, extends horizontal reference lines from pivot creation and applies age-based filtering to remove stale zones
Market Structure Analysis – Tracks pivot progression using structure-specific lookback (default 5 bars) to determine trend, confirms uptrend when new pivot high exceeds previous by minimum move percentage, detects Break of Structure when price breaks recent pivot level, flags Change of Character for potential reversals
Multi-Timeframe Confluence – When enabled, requests security data from higher timeframe (current TF × HTF multiplier, default 4x), compares HTF close against HTF 20-period MA to determine bias, contributes ±50 points to score ensuring alignment with institutional positioning on superior timeframe
Smart Money Score Calculation – Evaluates Order Block component via ATR-normalized distance producing max 100-point contribution weighted at 25%, assesses FVG factor through age penalty and distance at 20% weight, calculates Liquidity proximity at 20%, incorporates structure bias (±50-100 points) at 20%, adds MTF component at 15%, applies 3-period smoothing to reduce volatility
Visual Rendering and Lifecycle – Draws Order Block boxes, Fair Value Gap rectangles with color coding (green/red active, gray mitigated), extends liquidity dashed lines with fade-by-age opacity, plots BOS labels, displays Smart Money Score dashboard, continuously updates checking mitigation conditions and removing elements exceeding age/display limits
💡Note:
The Smart Money Flow Index combines multiple Smart Money Concepts into unified institutional order flow analysis. For optimal results, use the Smart Money Score as confluence filter rather than standalone entry signal – scores above 70 indicate high-probability setups but should be combined with risk management, higher timeframe bias, and market regime understanding.
(Mustang Algo) Trend 5/15/30/1H + EMA Lines + Aligned Signal═══════════════════════════════════════════════════════════
MUSTANG ALGO - MULTI-TIMEFRAME TREND ALIGNMENT
═══════════════════════════════════════════════════════════
📊 OVERVIEW:
This indicator analyzes trend alignment across four key timeframes (5m, 15m, 30m, 1H) using customizable moving averages. It helps traders identify high-probability setups when multiple timeframes confirm the same trend direction.
🎯 KEY FEATURES:
✓ Multi-Timeframe Analysis (5m/15m/30m/1H)
- Monitors trend direction on 4 different timeframes simultaneously
- Visual table showing real-time trend status for each period
- Optional price display for each timeframe
✓ Flexible Moving Average System
- Choose from 5 MA types: EMA, SMA, SMMA (RMA), WMA, VWMA
- Customizable Fast MA (default: 20) and Slow MA (default: 50)
- Visual cloud between moving averages (green=bullish, red=bearish)
✓ Alignment Signals
- "4x UP" triangle: All 4 timeframes bullish (strong uptrend)
- "4x DOWN" triangle: All 4 timeframes bearish (strong downtrend)
- Signals appear only when ALL timeframes agree
✓ Visual Enhancements
- MA cloud with transparency for better chart readability
- Optional candle coloring based on local trend
- Clean, customizable dashboard display
✓ Alert System
- Built-in alerts for bullish alignment (4 TF aligned up)
- Built-in alerts for bearish alignment (4 TF aligned down)
- Perfect for automated trading setups
📈 HOW TO USE:
1. **Trend Confirmation**: Wait for alignment signals (triangles) before entering trades
2. **Dashboard Monitoring**: Check the top-right table to see individual TF trends
3. **MA Cloud**: Use the cloud as dynamic support/resistance
4. **Entry Timing**: Enter on local timeframe when higher TFs are aligned
⚙️ CUSTOMIZABLE PARAMETERS:
- Fast MA Length (default: 20)
- Slow MA Length (default: 50)
- MA Type (EMA/SMA/SMMA/WMA/VWMA)
- Toggle dashboard display
- Toggle price display in dashboard
- Toggle MA cloud
- Toggle candle coloring
⚠️ BEST PRACTICES:
- Use on 5m or 15m charts for optimal multi-TF analysis
- Combine with price action and volume for best results
- Alignment signals are rare but highly significant
- Not a standalone system - use as confluence tool
💡 STRATEGY IDEAS:
- Scalping: Enter on local TF when all TFs aligned
- Swing Trading: Hold positions while alignment maintained
- Risk Management: Exit if alignment breaks
- Confluence: Combine with support/resistance levels
📌 NOTES:
- Works on all markets (Crypto, Forex, Stocks, Indices)
- Repaints minimally (only on MA calculations)
- Low resource usage, efficient code
═══════════════════════════════════════════════════════════
Created by Mustang Spirit Trading Academy
For educational purposes - Always manage your risk!
═══════════════════════════════════════════════════════════
HTF Ranges - AWR/AMR/AYR [bilal]📊 Overview
Professional higher timeframe range indicator for swing and position traders. Calculate Average Weekly Range (AWR), Average Monthly Range (AMR), and Average Yearly Range (AYR) with precision projection levels.
✨ Key Features
📅 Three Timeframe Modes
AWR (Average Weekly Range): Weekly swing targets - Default 4 weeks
AMR (Average Monthly Range): Monthly position targets - Default 6 months
AYR (Average Yearly Range): Yearly extremes - Default 9 years
🎯 Dual Anchor Options
Period Open: Week/Month/Year opening price
RTH Open: First RTH session (09:30 NY) of the period
📐 Projection Levels
100% Range Levels: Upper and lower targets from anchor
Fractional Levels: 33% and 66% zones for partial targets
Custom Mirrored Levels: Set any percentage (0-200%) with automatic mirroring
Example: 25% shows both 25% and 75%
Example: 150% shows both 150% and -50%
📊 Information Table
Active range type (AWR/AMR/AYR)
Average range value for selected period
Current period range and percentage used
Distance remaining to targets (up/down)
Color-coded progress (green/orange/red)
🎨 Fully Customizable
Orange theme by default (differentiates from daily indicators)
Line colors, styles (solid/dashed/dotted), and widths
Toggle labels on/off
Adjustable lookback periods for each timeframe
Independent settings for each range type
⚡ Smart Features
Lines start at actual period open (not fixed lookback)
Automatically tracks current period high/low
Works on any chart timeframe
Real-time range tracking
Alert conditions when targets reached or exceeded
🎯 Use Cases
AWR (Weekly Ranges):
Swing trade targets (3-7 day holds)
Weekly support/resistance zones
Identify weekly trend vs rotation
Compare daily moves to weekly context
AMR (Monthly Ranges):
Position trade targets (2-4 week holds)
Monthly breakout levels
Institutional-level zones
Earnings play targets
AYR (Yearly Ranges):
Major reversal zones
Long-term support/resistance
Identify macro trend strength
Annual high/low projections
💡 Trading Strategies
AWR Strategy (Swing Trading):
Week opens near AWR lower level = potential long setup
Target AWR 66% and 100% levels
Week hits AWR upper in first 2 days = watch for reversal
Use fractional levels as scale-in/scale-out points
AMR Strategy (Position Trading):
Month opens near AMR extremes = fade setup
Month breaks AMR in week 1 = expansion (trend) month
Target opposite AMR extreme for swing positions
Use 33%/66% for partial profit taking
AYR Strategy (Long-term Context):
Price near AYR extremes = major reversal zones
Breaking AYR levels = historic moves (rare)
Use for macro trend confirmation
Great for yearly forecasting and planning
📊 Range Interpretation
<33% Range Used: Early in period, room for expansion
33-66% Range Used: Normal progression
66-100% Range Used: Extended, approaching extremes
>100% Range Used: Expansion period - trending or high volatility
⚙️ Settings Guide
Lookback Periods:
AWR: 4 weeks (standard) - adjust to 8-12 for smoother average
AMR: 6 months (standard) - seasonal patterns
AYR: 9 years (standard) - captures full cycles
Anchor Type:
Period Open: Use for clean week/month/year open reference
RTH Open: Use if you only trade day session, ignores overnight gaps
Custom Levels:
25% = quartile targets
75% = three-quarter targets
80% = "danger zone" for reversals
111% = extended breakout target
🔄 Combine with ADR Indicator
Run both indicators together for complete multi-timeframe analysis:
ADR for intraday precision
AWR/AMR/AYR for swing/position context
See if today's ADR move is significant in weekly/monthly context
Multi-timeframe confluence = highest probability setups
💼 Ideal For
Swing Traders: Use AWR for 3-10 day holds
Position Traders: Use AMR for 2-8 week holds
Long-term Investors: Use AYR for macro context
Index Futures Traders: ES, NQ, YM, RTY
Multi-timeframe Analysis: Combine with daily ADR
Smart Trend MASmart Trend MA - Adaptive Moving Average with VHF Technology
WHAT IT IS
Smart Trend MA is an adaptive moving average indicator based on Perry Kaufman's KAMA (Kaufman Adaptive Moving Average) algorithm enhanced with VHF (Vertical Horizontal Filter) technology. The indicator automatically adjusts its responsiveness to current market conditions, becoming faster during trending markets and slower during ranging conditions to reduce false signals.
ORIGINALITY AND VALUE
This implementation combines KAMA's efficiency ratio methodology with dynamic VHF period adaptation, creating an intelligent system that self-adjusts without manual intervention. Unlike standard moving averages with fixed periods, Smart Trend MA dynamically calculates optimal sensitivity based on market structure. The gradient color visualization system provides immediate trend strength feedback. This indicator adds value by reducing whipsaw trades in choppy markets while maintaining responsiveness during genuine trends.
HOW IT WORKS
The indicator employs Kaufman's efficiency ratio calculation to measure directional movement relative to volatility. When markets trend strongly, the efficiency ratio increases and the moving average responds quickly to price changes. During sideways or choppy markets, the efficiency ratio decreases and the moving average becomes smoother to filter noise.
The VHF adaptation layer adds a second dimension of intelligence by dynamically adjusting the calculation period based on vertical price movement relative to horizontal price range. This dual-adaptive approach creates a moving average that automatically optimizes itself for current conditions without requiring parameter changes.
The gradient color system uses slope calculation to display trend strength visually. Stronger trends display more saturated colors while weaker or consolidating markets show muted tones.
FEATURES
- KAMA algorithm with efficiency ratio calculation
- VHF adaptive period adjustment for enhanced responsiveness
- Gradient color visualization with 7 color scheme options
- Range detection line showing mid-range support and resistance levels
- Multi-timeframe compatible across all markets
- No repainting - calculations use confirmed bar data
- Native TradingView alert system with 6 alert conditions
SETTINGS AND PARAMETERS
Length: Base calculation period (default 21). Higher values produce smoother lines suitable for position trading. Lower values (9-12) increase sensitivity for shorter timeframes.
Fast Factor: Controls maximum responsiveness during strong trends (default 0.66). Higher values increase reaction speed but may produce more noise.
Slow Factor: Controls minimum responsiveness during ranging markets (default 0.0645). Lower values create more smoothing during consolidation.
Smoothing Method: Optional additional smoothing using Hann Window or T3 methods. Default "None" recommended for most applications.
Enable VHF Adaptiveness: Activates dynamic period adjustment based on market structure. Recommended to keep enabled.
Range Detection: Displays mid-range line calculated from recent highs and lows. Useful for identifying support and resistance zones.
Gradient Colors: Choose from 7 color schemes or disable for simple two-color trend indication.
USAGE INSTRUCTIONS
The indicator plots a single adaptive line on the price chart. When the line slopes upward, market conditions favor bullish positions. When the line slopes downward, market conditions favor bearish positions. The gradient color intensity indicates trend strength - more saturated colors signal stronger directional movement.
The range detection line identifies the midpoint between recent price extremes. Price above the range line suggests bullish bias while price below suggests bearish bias. This line often acts as dynamic support or resistance.
For best results, combine Smart Trend MA with volume analysis and price action confirmation. The indicator works across all timeframes and markets including forex, cryptocurrency, stocks, and indices.
ALERT CONDITIONS
The indicator provides six native alert conditions through TradingView's alert system:
Bullish Trend: Triggers when the moving average direction changes to upward
Bearish Trend: Triggers when the moving average direction changes to downward
Strong Bullish: Triggers when slope exceeds threshold indicating strong upward momentum
Strong Bearish: Triggers when slope exceeds threshold indicating strong downward momentum
Price Cross Above: Triggers when price crosses above the moving average
Price Cross Below: Triggers when price crosses below the moving average
TECHNICAL NOTES
This indicator uses lookahead_off to ensure calculations reflect only confirmed bar data, preventing repainting issues. The default 21-period setting represents a Fibonacci number statistically proven optimal for swing trading across multiple markets.
LIMITATIONS
Past performance does not guarantee future results. This indicator provides trend analysis based on historical price data and does not predict future price movement. Best results occur in markets with clear directional bias. During extreme volatility or news events, all technical indicators including adaptive moving averages may produce less reliable signals.
No indicator should be used as the sole basis for trading decisions. Combine Smart Trend MA with proper risk management, additional analysis methods, and thorough understanding of the markets you trade.
The DTC Indicator The Day Trading Channel EditionOverview
The DTC Indicator is a precision-built engulfing confirmation system developed by The Day Trading Channel to simplify structured, session-based trading.
It identifies high-probability engulfing setups during user-defined sessions, automatically marks entry levels, and visualizes target/invalidation zones in real time.
The tool provides traders with a clean, rules-driven framework to analyze market structure objectively without relying on subjective interpretation or multi-indicator clutter.
The DTC Indicator is designed for day traders who value logic over luck — offering full control over session windows, confirmation filters, and risk parameters.
Core Concept
At its foundation, the DTC Indicator revolves around a straightforward yet powerful principle:
The first few candles of a session often define the directional intent of the market.
The script scans the initial candles of each active session for bullish or bearish engulfing structures — one of the most reliable candlestick confirmations in price action theory.
Once identified, it automatically logs the entry price, stop-loss, and take-profit levels based on the trader’s configured risk-to-reward ratio.
From there, the indicator takes over visual tracking — plotting live boxes for target and invalidation levels, marking outcome labels (TP/SL), and updating the internal statistics dashboard to keep a running log of all observed setups.
Key Features
🎯 Session Control & Customization
• Define up to four unique trading sessions (e.g., London, New York, Sydney, Asian).
• Each session is independently configurable, allowing traders to isolate setups only during high-activity periods.
• Visually differentiated sessions make it easy to monitor which time windows produce the best consistency.
🧩 Engulfing Confirmation Logic
• Detects bullish engulfing when a candle fully engulfs the body of the previous bearish candle.
• Detects bearish engulfing when a candle fully engulfs the body of the previous bullish candle.
• Signal confirmation is session-aware — only triggers within the specified start-window of each session.
• False positives are filtered out automatically if price fails to close beyond the engulfing range.
📊 Dynamic Entry Snapshot System
• Every valid setup is recorded as a “snapshot,” capturing the entry price, target, and invalidation levels.
• Boxes are drawn live on the chart, extending until price hits either the target or invalidation.
• Once resolved, the outcome is logged into the performance dashboard automatically.
🧮 Performance Dashboard
• Displays key stats directly on-chart:
Total setups
true / false
true-rate percentage
Latest signal direction
Last target & invalidation values
• The dashboard automatically filters by date range, letting traders review historical session performance.
🔔 Smart Alerts
• Optional alerts trigger on confirmed setups.
• Each alert message includes symbol, timeframe, direction, target/invalidation values, and timestamp.
• Compatible with TradingView’s webhook system for automation or third-party integration.
🎨 Visual Customization
• Choose between Modern Blue, Classic Green-Red , and Gold Edition color themes.
• Adjustable label size, box opacity, line thickness, and text color.
• Option to toggle boxes, lines, or only retain labels for a minimal layout.
Why It’s Different
The DTC Indicator isn’t another candlestick detector — it’s a structured visual journal of real-time session behavior.
Instead of cluttering the screen with redundant signals, it focuses on clarity: showing you when a session produces genuine intent, and how price reacts to that intent across multiple timeframes.
Each setup becomes a mini “trade story” — logged, tracked, and concluded.
This gives traders powerful visual feedback on how specific sessions behave and how consistent a setup truly is over time.
Recommended Use Cases
• Intraday Forex and Gold (XAUUSD) trading
• Scalping and short-term swing trading on 1 hour charts
• Session-based backtesting for pattern validation
• Visual trade journaling and post-session analysis
Recommended Defaults:
Timeframe: 1-hour (h1)
Risk-Reward Ratio: 1 : 2.5
Primary Sessions: London, New York
Commission & Margin (recommended table display) : 0.02% commission, 1:100 margin
Limitations & Transparency Notice
• The indicator tracks simulated outcomes only; it does not represent executed trades.
• Historical win-rates are observational, not predictive of future performance.
• Non-standard chart types (Heikin-Ashi, Renko, Range) are not supported for engulfing detection.
• All results are based on visual backtesting and should be interpreted as educational data.
Access & Licensing
This invite-only version of the DTC Indicator is maintained and distributed by The Day Trading Channel .
Access may be granted to selected traders, educational partners, or evaluation firms for research and testing purposes.
Unauthorized redistribution, decompilation, or commercial replication of the script is strictly prohibited.
Disclaimer
This indicator is provided for educational and analytical purposes only.
It does not constitute financial advice, investment recommendations, or trade execution signals.
Trading financial markets carries risk — users are solely responsible for their decisions and results.
© 2025 The Day Trading Channel. All Rights Reserved.
Manifold Singularity EngineManifold Singularity Engine: Catastrophe Theory Detection Through Multi-Dimensional Topology Analysis
The Manifold Singularity Engine applies catastrophe theory from mathematical topology to multi-dimensional price space analysis, identifying potential reversal conditions by measuring manifold curvature, topological complexity, and fractal regime states. Unlike traditional reversal indicators that rely on price pattern recognition or momentum oscillators, this system reconstructs the underlying geometric surface (manifold) that price evolves upon and detects points where this topology undergoes catastrophic folding—mathematical singularities that correspond to forced directional changes in price dynamics.
The indicator combines three analytical frameworks: phase space reconstruction that embeds price data into a multi-dimensional coordinate system, catastrophe detection that measures when this embedded manifold reaches critical curvature thresholds indicating topology breaks, and Hurst exponent calculation that classifies the current fractal regime to adaptively weight detection sensitivity. This creates a geometry-based reversal detection system with visual feedback showing topology state, manifold distortion fields, and directional probability projections.
What Makes This Approach Different
Phase Space Embedding Construction
The core analytical method reconstructs price evolution as movement through a three-dimensional coordinate system rather than analyzing price as a one-dimensional time series. The system calculates normalized embedding coordinates: X = normalize(price_velocity, window) , Y = normalize(momentum_acceleration, window) , and Z = normalize(volume_weighted_returns, window) . These coordinates create a trajectory through phase space where price movement traces a path across a geometric surface—the market manifold.
This embedding approach differs fundamentally from traditional technical analysis by treating price not as a sequential data stream but as a dynamical system evolving on a curved surface in multi-dimensional space. The trajectory's geometric properties (curvature, complexity, folding) contain information about impending directional changes that single-dimension analysis cannot capture. When this manifold undergoes rapid topological deformation, price must respond with directional change—this is the mathematical basis for catastrophe detection.
Statistical normalization using z-score transformation (subtracting mean, dividing by standard deviation over a rolling window) ensures the coordinate system remains scale-invariant across different instruments and volatility regimes, allowing identical detection logic to function on forex, crypto, stocks, or indices without recalibration.
Catastrophe Score Calculation
The catastrophe detection formula implements a composite anomaly measurement combining multiple topology metrics: Catastrophe_Score = 0.45×Curvature_Percentile + 0.25×Complexity_Ratio + 0.20×Condition_Percentile + 0.10×Gradient_Percentile . Each component measures a distinct aspect of manifold distortion:
Curvature (κ) is computed using the discrete Laplacian operator: κ = √ , which measures how sharply the manifold surface bends at the current point. High curvature values indicate the surface is folding or developing a sharp corner—geometric precursors to catastrophic topology breaks. The Laplacian measures second derivatives (rate of change of rate of change), capturing acceleration in the trajectory's path through phase space.
Topological Complexity counts sign changes in the curvature field over the embedding window, measuring how chaotically the manifold twists and oscillates. A smooth, stable surface produces low complexity; a highly contorted, unstable surface produces high complexity. This metric detects when the geometric structure becomes informationally dense with multiple local extrema, suggesting an imminent topology simplification event (catastrophe).
Condition Number measures the Jacobian matrix's sensitivity: Condition = |Trace| / |Determinant|, where the Jacobian describes how small changes in price produce changes in the embedding coordinates. High condition numbers indicate numerical instability—points where the coordinate transformation becomes ill-conditioned, suggesting the manifold mapping is approaching a singularity.
Each metric is converted to percentile rank within a rolling window, then combined using weighted sum. The percentile transformation creates adaptive thresholds that automatically adjust to each instrument's characteristic topology without manual recalibration. The resulting 0-100% catastrophe score represents the current bar's position in the distribution of historical manifold distortion—values above the threshold (default 65%) indicate statistically extreme topology states where reversals become geometrically probable.
This multi-metric ensemble approach prevents false signals from isolated anomalies: all four geometric features must simultaneously indicate distortion for a high catastrophe score, ensuring only true manifold breaks trigger detection.
Hurst Exponent Regime Classification
The Hurst exponent calculation implements rescaled range (R/S) analysis to measure the fractal dimension of price returns: H = log(R/S) / log(n) , where R is the range of cumulative deviations from mean and S is the standard deviation. The resulting value classifies market behavior into three fractal regimes:
Trending Regime (H > 0.55) : Persistent price movement where future changes are positively correlated with past changes. The manifold exhibits directional momentum with smooth topology evolution. In this regime, catastrophe signals receive 1.2× confidence multiplier because manifold breaks in trending conditions produce high-magnitude directional changes.
Mean-Reverting Regime (H < 0.45) : Anti-persistent price movement where future changes tend to oppose past changes. The manifold exhibits oscillatory topology with frequent small-scale distortions. Catastrophe signals receive 0.8× confidence multiplier because reversal significance is diminished in choppy conditions where the manifold constantly folds at minor scales.
Random Walk Regime (H ≈ 0.50) : No statistical correlation in returns. The manifold evolution is geometrically neutral with moderate topology stability. Standard 1.0× confidence multiplier applies.
This adaptive weighting system solves a critical problem in reversal detection: the same geometric catastrophe has different trading implications depending on the fractal regime. A manifold fold in a strong trend suggests a significant reversal opportunity; the same fold in mean-reversion suggests a minor oscillation. The Hurst-based regime filter ensures detection sensitivity automatically adjusts to market character without requiring trader intervention.
The implementation uses logarithmic price returns rather than raw prices to ensure
stationarity, and applies the calculation over a configurable window (default 5 bars) to balance responsiveness with statistical validity. The Hurst value is then smoothed using exponential moving average to reduce noise while maintaining regime transition detection.
Multi-Layer Confirmation Architecture
The system implements five independent confirmation filters that must simultaneously validate
before any singularity signal generates:
1. Catastrophe Threshold : The composite anomaly score must exceed the configured threshold (default 0.65 on 0-1 scale), ensuring the manifold distortion is statistically extreme relative to recent history.
2. Pivot Structure Confirmation : Traditional swing high/low patterns (using ta.pivothigh and ta.pivotlow with configurable lookback) must form at the catastrophe bar. This ensures the geometric singularity coincides with observable price structure rather than occurring mid-swing where interpretation is ambiguous.
3. Swing Size Validation : The pivot magnitude must exceed a minimum threshold measured in ATR units (default 1.5× Average True Range). This filter prevents signals on insignificant price jiggles that lack meaningful reversal potential, ensuring only substantial swings with adequate risk/reward ratios generate signals.
4. Volume Confirmation : Current volume must exceed 1.3× the 20-period moving average, confirming genuine market participation rather than low-liquidity price noise. Manifold catastrophes without volume support often represent false topology breaks that don't translate to sustained directional change.
5. Regime Validity : The market must be classified as either trending (ADX > configured threshold, default 30) or volatile (ATR expansion > configured threshold, default 40% above 30-bar average), and must NOT be in choppy/ranging state. This critical filter prevents trading during geometrically unfavorable conditions where edge deteriorates.
All five conditions must evaluate true simultaneously for a signal to generate. This conjunction-based logic (AND not OR) dramatically reduces false positives while preserving true reversal detection. The architecture recognizes that geometric catastrophes occur frequently in noisy data, but only those catastrophes that align with confirming evidence across price structure, participation, and regime characteristics represent tradable opportunities.
A cooldown mechanism (default 8 bars between signals) prevents signal clustering at extended pivot zones where the manifold may undergo multiple small catastrophes during a single reversal process.
Direction Classification System
Unlike binary bull/bear systems, the indicator implements a voting mechanism combining four
directional indicators to classify each catastrophe:
Pivot Vote : +1 if pivot low, -1 if pivot high, 0 otherwise
Trend Vote : Based on slow frequency (55-period EMA) slope—+1 if rising, -1 if falling, 0 if flat
Flow Vote : Based on Y-gradient (momentum acceleration)—+1 if positive, -1 if negative, 0 if neutral
Mid-Band Vote : Based on price position relative to medium frequency (21-period EMA)—+1 if above, -1 if below, 0 if at
The total vote sum classifies the singularity: ≥2 votes = Bullish , ≤-2 votes = Bearish , -1 to +1 votes = Neutral (skip) . This majority-consensus approach ensures directional classification requires alignment across multiple timeframes and analysis dimensions rather than relying on a single indicator. Neutral signals (mixed voting) are displayed but should not be traded, as they represent geometric catastrophes without clear directional resolution.
Core Calculation Methodology
Embedding Coordinate Generation
Three normalized phase space coordinates are constructed from price data:
X-Dimension (Velocity Space):
price_velocity = close - close
X = (price_velocity - mean) / stdev over hurstWindow
Y-Dimension (Acceleration Space):
momentum = close - close
momentum_accel = momentum - momentum
Y = (momentum_accel - mean) / stdev over hurstWindow
Z-Dimension (Volume-Weighted Space):
vol_normalized = (volume - mean) / stdev over embedLength
roc = (close - close ) / close
Z = (roc × vol_normalized - mean) / stdev over hurstWindow
These coordinates define a point in 3D phase space for each bar. The trajectory connecting these points is the reconstructed manifold.
Gradient Field Calculation
First derivatives measure local manifold slope:
dX/dt = X - X
dY/dt = Y - Y
Gradient_Magnitude = √
The gradient direction indicates where the manifold is "pushing" price. Positive Y-gradient suggests upward topological pressure; negative Y-gradient suggests downward pressure.
Curvature Tensor Components
Second derivatives measure manifold bending using discrete Laplacian:
Laplacian_X = X - 2×X + X
Laplacian_Y = Y - 2×Y + Y
Laplacian_Magnitude = √
This is then normalized:
Curvature_Normalized = (Laplacian_Magnitude - mean) / stdev over embedLength
High normalized curvature (>1.5) indicates sharp manifold folding.
Complexity Accumulation
Sign changes in curvature field are counted:
Sign_Flip = 1 if sign(Curvature ) ≠ sign(Curvature ), else 0
Topological_Complexity = sum(Sign_Flip) over embedLength window
This measures oscillation frequency in the geometry. Complexity >5 indicates chaotic topology.
Condition Number Stability Analysis
Jacobian matrix sensitivity is approximated:
dX/dp = dX/dt / (price_change + epsilon)
dY/dp = dY/dt / (price_change + epsilon)
Jacobian_Determinant = (dX/dt × dY/dp) - (dX/dp × dY/dt)
Jacobian_Trace = dX/dt + dY/dp
Condition_Number = |Trace| / (|Determinant| + epsilon)
High condition numbers indicate numerical instability near singularities.
Catastrophe Score Assembly
Each metric is converted to percentile rank over embedLength window, then combined:
Curvature_Percentile = percentrank(abs(Curvature_Normalized), embedLength)
Gradient_Percentile = percentrank(Gradient_Magnitude, embedLength)
Condition_Percentile = percentrank(abs(Condition_Z_Score), embedLength)
Complexity_Ratio = clamp(Topological_Complexity / embedLength, 0, 1)
Final score:
Raw_Anomaly = 0.45×Curvature_P + 0.25×Complexity_R + 0.20×Condition_P + 0.10×Gradient_P
Catastrophe_Score = Raw_Anomaly × Hurst_Multiplier
Values are clamped to range.
Hurst Exponent Calculation
Rescaled range analysis on log returns:
Calculate log returns: r = log(close) - log(close )
Compute cumulative deviations from mean
Find range: R = max(cumulative_dev) - min(cumulative_dev)
Calculate standard deviation: S = stdev(r, hurstWindow)
Compute R/S ratio
Hurst = log(R/S) / log(hurstWindow)
Clamp to and smooth with 5-period EMA
Regime Classification Logic
Volatility Regime:
ATR_MA = SMA(ATR(14), 30)
Vol_Expansion = ATR / ATR_MA
Is_Volatile = Vol_Expansion > (1.0 + minVolExpansion)
Trend Regime (Corrected ADX):
Calculate directional movement (DM+, DM-)
Smooth with Wilder's RMA(14)
Compute DI+ and DI- as percentages
Calculate DX = |DI+ - DI-| / (DI+ + DI-) × 100
ADX = RMA(DX, 14)
Is_Trending = ADX > (trendStrength × 100)
Chop Detection:
Is_Chopping = NOT Is_Trending AND NOT Is_Volatile
Regime Validity:
Regime_Valid = (Is_Trending OR Is_Volatile) AND NOT Is_Chopping
Signal Generation Logic
For each bar:
Check if catastrophe score > topologyStrength threshold
Verify regime is valid
Confirm Hurst alignment (trending or mean-reverting with pivot)
Validate pivot quality (price extended outside spectral bands then re-entered)
Confirm volume/volatility participation
Check cooldown period has elapsed
If all true: compute directional vote
If vote ≥2: Bullish Singularity
If vote ≤-2: Bearish Singularity
If -1 to +1: Neutral (display but skip)
All conditions must be true for signal generation.
Visual System Architecture
Spectral Decomposition Layers
Three harmonic frequency bands visualize entropy state:
Layer 1 (Surface Frequency):
Center: EMA(8)
Width: ±0.3 × 0.5 × ATR
Transparency: 75% (most visible)
Represents fast oscillations
Layer 2 (Mid Frequency):
Center: EMA(21)
Width: ±0.5 × 0.5 × ATR
Transparency: 85%
Represents medium cycles
Layer 3 (Deep Frequency):
Center: EMA(55)
Width: ±0.7 × 0.5 × ATR
Transparency: 92% (most transparent)
Represents slow baseline
Convergence of layers indicates low entropy (stable topology). Divergence indicates high entropy (catastrophe building). This decomposition reveals how different frequency components of price movement interact—when all three align, the manifold is in equilibrium; when they separate, topology is unstable.
Energy Radiance Fields
Concentric boxes emanate from each singularity bar:
For each singularity, 5 layers are generated:
Layer n: bar_index ± (n × 1.5 bars), close ± (n × 0.4 × ATR)
Transparency gradient: inner 75% → outer 95%
Color matches signal direction
These fields visualize the "energy well" of the catastrophe—wider fields indicate stronger topology distortion. The exponential expansion creates a natural radiance effect.
Singularity Node Geometry
N-sided polygon (default hexagon) at each signal bar:
Vertices calculated using polar coordinates
Rotation angle: bar_index × 0.1 (creates animation)
Radius: ATR × singularity_strength × 2
Connects vertices with colored lines
The rotating geometric primitive marks the exact catastrophe bar with visual prominence.
Gradient Flow Field
Directional arrows display manifold slope:
Spawns every 3 bars when gradient_magnitude > 0.1
Symbol: "↗" if dY/dt > 0.1, "↘" if dY/dt < -0.1, "→" if neutral
Color: Bull/bear/neutral based on direction
Density limited to flowDensity parameter
Arrows cluster when gradient is strong, creating intuitive topology visualization.
Probability Projection Cones
Forward trajectory from each singularity:
Projects 10 bars forward
Direction based on vote classification
Center line: close + (direction × ATR × 3)
Uncertainty width: ATR × singularity_strength × 2
Dashed boundaries, solid center
These are mathematical projections based on current gradient, not price targets. They visualize expected manifold evolution if topology continues current trajectory.
Dashboard Metrics Explanation
The real-time control panel displays six core metrics plus regime status:
H (Hurst Exponent):
Value: Current Hurst (0-1 scale)
Label: TREND (>0.55), REVERT (<0.45), or RANDOM (0.45-0.55)
Icon: Direction arrow based on regime
Purpose: Shows fractal character—only trade when favorable
Σ (Catastrophe Score):
Value: Current composite anomaly (0-100%)
Bar gauge shows relative strength
Icon: ◆ if above threshold, ○ if below
Purpose: Primary signal strength indicator
κ (Curvature):
Value: Normalized Laplacian magnitude
Direction arrow shows sign
Color codes severity (green<0.8, yellow<1.5, red≥1.5)
Purpose: Shows manifold bending intensity
⟳ (Topology Complexity):
Value: Count of sign flips in curvature
Icon: ◆ if >3, ○ otherwise
Color codes chaos level
Purpose: Indicates geometric instability
V (Volatility Expansion):
Value: ATR expansion percentage above 30-bar average
Icon: ● if volatile, ○ otherwise
Purpose: Confirms energy present for reversal
T (Trend Strength):
Value: ADX reading (0-100)
Icon: ● if trending, ○ otherwise
Purpose: Shows directional bias strength
R (Regime):
Label: EXPLOSIVE / TREND / VOLATILE / CHOP / NEUTRAL
Icon: ✓ if valid, ✗ if invalid
Purpose: Go/no-go filter for trading
STATE (Bottom Display):
Shows: "◆ BULL SINGULARITY" (green), "◆ BEAR SINGULARITY" (red), "◆ WEAK/NEUTRAL" (orange), or "— Monitoring —" (gray)
Purpose: Current signal status at a glance
How to Use This Indicator
Initial Setup and Configuration
Apply the indicator to your chart with default settings as a starting point. The default parameters (21-bar embedding, 5-bar Hurst window, 2.5σ singularity threshold, 0.65 topology confirmation) are optimized for balanced detection across most instruments and timeframes. For very fast markets (scalping crypto, 1-5min charts), consider reducing embedding depth to 13-15 bars and Hurst window to 3 bars for more responsive detection. For slower markets (swing trading stocks, 4H-Daily charts), increase embedding depth to 34-55 bars and Hurst window to 8-10 bars for more stable topology measurement.
Enable the dashboard (top right recommended) to monitor real-time metrics. The control panel is your primary decision interface—glancing at the dashboard should instantly communicate whether conditions favor trading and what the current topology state is. Position and size the dashboard to remain visible but not obscure price action.
Enable regime filtering (strongly recommended) to prevent trading during choppy/ranging conditions where geometric edge deteriorates. This single setting can dramatically improve overall performance by eliminating low-probability environments.
Reading Dashboard Metrics for Trade Readiness
Before considering any trade, verify the dashboard shows favorable conditions:
Hurst (H) Check:
The Hurst Exponent reading is your first filter. Only consider trades when H > 0.50 . Ideal conditions show H > 0.60 with "TREND" label—this indicates persistent directional price movement where manifold catastrophes produce significant reversals. When H < 0.45 (REVERT label), the market is mean-reverting and catastrophes represent minor oscillations rather than substantial pivots. Do not trade in mean-reverting regimes unless you're explicitly using range-bound strategies (which this indicator is not optimized for). When H ≈ 0.50 (RANDOM label), edge is neutral—acceptable but not ideal.
Catastrophe (Σ) Monitoring:
Watch the Σ percentage build over time. Readings consistently below 50% indicate stable topology with no imminent reversals. When Σ rises above 60-65%, manifold distortion is approaching critical levels. Signals only fire when Σ exceeds the configured threshold (default 65%), so this metric pre-warns you of potential upcoming catastrophes. High-conviction setups show Σ > 75%.
Regime (R) Validation:
The regime classification must read TREND, VOLATILE, or EXPLOSIVE—never trade when it reads CHOP or NEUTRAL. The checkmark (✓) must be present in the regime cell for trading conditions to be valid. If you see an X (✗), skip all signals until regime improves. This filter alone eliminates most losing trades by avoiding geometrically unfavorable environments.
Combined High-Conviction Profile:
The strongest trading opportunities show simultaneously:
H > 0.60 (strong trending regime)
Σ > 75% (extreme topology distortion)
R = EXPLOSIVE or TREND with ✓
κ (Curvature) > 1.5 (sharp manifold fold)
⟳ (Complexity) > 4 (chaotic geometry)
V (Volatility) showing elevated ATR expansion
When all metrics align in this configuration, the manifold is undergoing severe distortion in a favorable fractal regime—these represent maximum-conviction reversal opportunities.
Signal Interpretation and Entry Logic
Bullish Singularity (▲ Green Triangle Below Bar):
This marker appears when the system detects a manifold catastrophe at a price low with bullish directional consensus. All five confirmation filters have aligned: topology score exceeded threshold, pivot low structure formed, swing size was significant, volume/volatility confirmed participation, and regime was valid. The green color indicates the directional vote totaled +2 or higher (majority bullish).
Trading Approach: Consider long entry on the bar immediately following the signal (bar after the triangle). The singularity bar itself is where the geometric catastrophe occurred—entering after allows you to see if price confirms the reversal. Place stop loss below the singularity bar's low (with buffer of 0.5-1.0 ATR for volatility). Initial target can be the previous swing high, or use the probability cone projection as a guide (though not a guarantee). Monitor the dashboard STATE—if it flips to "◆ BEAR SINGULARITY" or Hurst drops significantly, consider exiting even if target not reached.
Bearish Singularity (▼ Red Triangle Above Bar):
This marker appears when the system detects a manifold catastrophe at a price high with bearish directional consensus. Same five-filter confirmation process as bullish signals. The red color indicates directional vote totaled -2 or lower (majority bearish).
Trading Approach: Consider short entry on the bar following the signal. Place stop loss above the singularity bar's high (with buffer). Target previous swing low or use cone projection as reference. Exit if opposite signal fires or Hurst deteriorates.
Neutral Signal (● Orange Circle at Price Level):
This marker indicates the catastrophe detection system identified a topology break that passed catastrophe threshold and regime filters, but the directional voting system produced a mixed result (vote between -1 and +1). This means the four directional components (pivot, trend, flow, mid-band) are not in agreement about which way the reversal should resolve.
Trading Approach: Skip these signals. Neutral markers are displayed for analytical completeness but should not be traded. They represent geometric catastrophes without clear directional resolution—essentially, the manifold is breaking but the direction of the break is ambiguous. Trading neutral signals dramatically increases false signal rate. Only trade green (bullish) or red (bearish) singularities.
Visual Confirmation Using Spectral Layers
The three colored ribbons (spectral decomposition layers) provide entropy visualization that helps confirm signal quality:
Divergent Layers (High Entropy State):
When the three frequency bands (fast 8-period, medium 21-period, slow 55-period) are separated with significant gaps between them, the manifold is in high entropy state—different frequency components of price movement are pulling in different directions. This geometric tension precedes catastrophes. Strong signals often occur when layers are divergent before the signal, then begin reconverging immediately after.
Convergent Layers (Low Entropy State):
When all three ribbons are tightly clustered or overlapping, the manifold is in equilibrium—all frequency components agree. This stable geometry makes catastrophe detection more reliable because topology breaks clearly stand out against the baseline stability. If you see layers converge, then a singularity fires, then layers diverge, this pattern suggests a genuine regime transition.
Signal Quality Assessment:
High-quality singularity signals should show:
Divergent layers (high entropy) in the 5-10 bars before signal
Singularity bar occurs when price has extended outside at least one of the spectral bands (shows pivot extended beyond equilibrium)
Close of singularity bar re-enters the spectral band zone (shows mean reversion starting)
Layers begin reconverging in 3-5 bars after signal (shows new equilibrium forming)
This pattern visually confirms the geometric narrative: manifold became unstable (divergence), reached critical distortion (extended outside equilibrium), broke catastrophically (singularity), and is now stabilizing in new direction (reconvergence).
Using Energy Fields for Trade Management
The concentric glowing boxes around each singularity visualize the topology distortion
magnitude:
Wide Energy Fields (5+ Layers Visible):
Large radiance indicates strong catastrophe with high manifold curvature. These represent significant topology breaks and typically precede larger price moves. Wide fields justify wider profit targets and longer hold times. The outer edge of the largest box can serve as a dynamic support/resistance zone—price often respects these geometric boundaries.
Narrow Energy Fields (2-3 Layers):
Smaller radiance indicates moderate catastrophe. While still valid signals (all filters passed), expect smaller follow-through. Use tighter profit targets and be prepared for quicker exit if momentum doesn't develop. These are valid but lower-conviction trades.
Field Interaction Zones:
When energy fields from consecutive signals overlap or touch, this indicates a prolonged topology distortion region—often corresponds to consolidation zones or complex reversal patterns (head-and-shoulders, double tops/bottoms). Be more cautious in these areas as the manifold is undergoing extended restructuring rather than a clean catastrophe.
Probability Cone Projections
The dashed cone extending forward from each singularity is a mathematical projection, not a
price target:
Cone Direction:
The center line direction (upward for bullish, downward for bearish, flat for neutral) shows the expected trajectory based on current manifold gradient and singularity direction. This is where the topology suggests price "should" go if the catastrophe completes normally.
Cone Width:
The uncertainty band (upper and lower dashed boundaries) represents the range of outcomes given current volatility (ATR-based). Wider cones indicate higher uncertainty—expect more price volatility even if direction is correct. Narrower cones suggest more constrained movement.
Price-Cone Interaction:
Price following near the center line = catastrophe resolving as expected, geometric projection accurate
Price breaking above upper cone = stronger-than-expected reversal, consider holding for larger targets
Price breaking below lower cone (for bullish signal) = catastrophe failing, manifold may be re-folding in opposite direction, consider exit
Price oscillating within cone = normal reversal process, hold position
The 10-bar projection length means cones show expected behavior over the next ~10 bars. Don't confuse this with longer-term price targets.
Gradient Flow Field Interpretation
The directional arrows (↗, ↘, →) scattered across the chart show the manifold's Y-gradient (vertical acceleration dimension):
Upward Arrows (↗):
Positive Y-gradient indicates the momentum acceleration dimension is pushing upward—the manifold topology has upward "slope" at this location. Clusters of upward arrows suggest bullish topological pressure building. These often appear before bullish singularities fire.
Downward Arrows (↘):
Negative Y-gradient indicates downward topological pressure. Clusters precede bearish singularities.
Horizontal Arrows (→):
Neutral gradient indicates balanced topology with no strong directional pressure.
Using Flow Field:
The arrows provide real-time topology state information even between singularity signals. If you're in a long position from a bullish singularity and begin seeing increasing downward arrows appearing, this suggests manifold gradient is shifting—consider tightening stops. Conversely, if arrows remain upward or neutral, topology supports continuation.
Don't confuse arrow direction with immediate price direction—arrows show geometric slope, not price prediction. They're confirmatory context, not entry signals themselves.
Parameter Optimization for Your Trading Style
For Scalping / Fast Trading (1m-15m charts):
Embedding Depth: 13-15 bars (faster topology reconstruction)
Hurst Window: 3 bars (responsive fractal detection)
Singularity Threshold: 2.0-2.3σ (more sensitive)
Topology Confirmation: 0.55-0.60 (lower barrier)
Min Swing Size: 0.8-1.2 ATR (accepts smaller moves)
Pivot Lookback: 3-4 bars (quick pivot detection)
This configuration increases signal frequency for active trading but requires diligent monitoring as false signal rate increases. Use tighter stops.
For Day Trading / Standard Approach (15m-4H charts):
Keep default settings (21 embed, 5 Hurst, 2.5σ, 0.65 confirmation, 1.5 ATR, 5 pivot)
These are balanced for quality over quantity
Best win rate and risk/reward ratio
Recommended for most traders
For Swing Trading / Position Trading (4H-Daily charts):
Embedding Depth: 34-55 bars (stable long-term topology)
Hurst Window: 8-10 bars (smooth fractal measurement)
Singularity Threshold: 3.0-3.5σ (only extreme catastrophes)
Topology Confirmation: 0.75-0.85 (high conviction only)
Min Swing Size: 2.5-4.0 ATR (major moves only)
Pivot Lookback: 8-13 bars (confirmed swings)
This configuration produces infrequent but highly reliable signals suitable for position sizing and longer hold times.
Volatility Adaptation:
In extremely volatile instruments (crypto, penny stocks), increase Min Volatility Expansion to 0.6-0.8 to avoid over-signaling during "always volatile" conditions. In stable instruments (major forex pairs, blue-chip stocks), decrease to 0.3 to allow signals during moderate volatility spikes.
Trend vs Range Preference:
If you prefer trading only strong trends, increase Min Trend Strength to 0.5-0.6 (ADX > 50-60). If you're comfortable with volatility-based trading in weaker trends, decrease to 0.2 (ADX > 20). The default 0.3 balances both approaches.
Complete Trading Workflow Example
Step 1 - Pre-Session Setup:
Load chart with MSE indicator. Check dashboard position is visible. Verify regime filter is enabled. Review recent signals to gauge current instrument behavior.
Step 2 - Market Assessment:
Observe dashboard Hurst reading. If H < 0.45 (mean-reverting), consider skipping this session or using other strategies. If H > 0.50, proceed. Check regime shows TREND, VOLATILE, or EXPLOSIVE with checkmark—if CHOP, wait for regime shift alert.
Step 3 - Signal Wait:
Monitor catastrophe score (Σ). Watch for it climbing above 60%. Observe spectral layers—look for divergence building. If you see curvature (κ) rising above 1.0 and complexity (⟳) increasing, catastrophe is building. Do not anticipate—wait for the actual signal marker.
Step 4 - Signal Recognition:
▲ Bullish or ▼ Bearish triangle appears at a bar. Dashboard STATE changes to "◆ BULL/BEAR SINGULARITY". Energy field appears around the signal bar. Check signal quality:
Was Σ > 70% at signal? (Higher quality)
Are energy fields wide? (Stronger catastrophe)
Did layers diverge before and reconverge after? (Clean break)
Is Hurst still > 0.55? (Good regime)
Step 5 - Entry Decision:
If signal is green/red (not orange neutral), all confirmations look strong, and no immediate contradicting factors appear, prepare entry on next bar open. Wait for confirmation bar to form—ideally it should close in the signal direction (bullish signal → bar closes higher, bearish signal → bar closes lower).
Step 6 - Position Entry:
Enter at open or shortly after open of bar following signal bar. Set stop loss: for bullish signals, place stop at singularity_bar_low - (0.75 × ATR); for bearish signals, place stop at singularity_bar_high + (0.75 × ATR). The buffer accommodates volatility while protecting against catastrophe failure.
Step 7 - Trade Management:
Monitor dashboard continuously:
If Hurst drops below 0.45, consider reducing position
If opposite singularity fires, exit immediately (manifold has re-folded)
If catastrophe score drops below 40% and stays there, topology has stabilized—consider partial profit taking
Watch gradient flow arrows—if they shift to opposite direction persistently, tighten stops
Step 8 - Profit Taking:
Use probability cone as a guide—if price reaches outer cone boundary, consider taking partial profits. If price follows center line cleanly, hold for larger target. Traditional technical targets work well: previous swing high/low, round numbers, Fibonacci extensions. Don't expect precision—manifold projections give direction and magnitude estimates, not exact prices.
Step 9 - Exit:
Exit on: (a) opposite signal appears, (b) dashboard shows regime became invalid (checkmark changes to X), (c) technical target reached, (d) Hurst deteriorates significantly, (e) stop loss hit, or (f) time-based exit if using session limits. Never hold through opposite singularity signals—the manifold has broken in the other direction and your trade thesis is invalidated.
Step 10 - Post-Trade Review:
After exit, review: Did the probability cone projection align with actual price movement? Were the energy fields proportional to move size? Did spectral layers show expected reconvergence? Use these observations to calibrate your interpretation of signal quality over time.
Best Performance Conditions
This topology-based approach performs optimally in specific market environments:
Favorable Conditions:
Well-Developed Swing Structure: Markets with clear rhythm of advances and declines where pivots form at regular intervals. The manifold reconstruction depends on swing formation, so instruments that trend in clear waves work best. Stocks, major forex pairs during active sessions, and established crypto assets typically exhibit this characteristic.
Sufficient Volatility for Topology Development: The embedding process requires meaningful price movement to construct multi-dimensional coordinates. Extremely quiet markets (tight consolidations, holiday trading, after-hours) lack the volatility needed for manifold differentiation. Look for ATR expansion above average—when volatility is present, geometry becomes meaningful.
Trending with Periodic Reversals: The ideal environment is not pure trend (which rarely reverses) nor pure range (which reverses constantly at small scale), but rather trending behavior punctuated by occasional significant counter-trend reversals. This creates the catastrophe conditions the system is designed to detect: manifold building directional momentum, then undergoing sharp topology break at extremes.
Liquid Instruments Where EMAs Reflect True Flow: The spectral layers and frequency decomposition require that moving averages genuinely represent market consensus. Thinly traded instruments with sporadic orders don't create smooth manifold topology. Prefer instruments with consistent volume where EMA calculations reflect actual capital flow rather than random tick sequences.
Challenging Conditions:
Extremely Choppy / Whipsaw Markets: When price oscillates rapidly with no directional persistence (Hurst < 0.40), the manifold undergoes constant micro-catastrophes that don't translate to tradable reversals. The regime filter helps avoid these, but awareness is important. If you see multiple neutral signals clustering with no follow-through, market is too chaotic for this approach.
Very Low Volatility Consolidation: Tight ranges with ATR below average cause the embedding coordinates to compress into a small region of phase space, reducing geometric differentiation. The manifold becomes nearly flat, and catastrophe detection loses sensitivity. The regime filter's volatility component addresses this, but manually avoiding dead markets improves results.
Gap-Heavy Instruments: Stocks that gap frequently (opening outside previous close) create discontinuities in the manifold trajectory. The embedding process assumes continuous evolution, so gaps introduce artifacts. Most gaps don't invalidate the approach, but instruments with daily gaps >2% regularly may show degraded performance. Consider using higher timeframes (4H, Daily) where gaps are less proportionally significant.
Parabolic Moves / Blowoff Tops: When price enters an exponential acceleration phase (vertical rally or crash), the manifold evolves too rapidly for the standard embedding window to track. Catastrophe detection may lag or produce false signals mid-move. These conditions are rare but identifiable by Hurst > 0.75 combined with ATR expansion >2.0× average. If detected, consider sitting out or using very tight stops as geometry is in extreme distortion.
The system adapts by reducing signal frequency in poor conditions—if you notice long periods with no signals, the topology likely lacks the geometric structure needed for reliable catastrophe detection. This is a feature, not a bug: it prevents forced trading during unfavorable environments.
Theoretical Justification for Approach
Why Manifold Embedding?
Traditional technical analysis treats price as a one-dimensional time series: current price is predicted from past prices in sequential order. This approach ignores the structure of price dynamics—the relationships between velocity, acceleration, and participation that govern how price actually evolves.
Dynamical systems theory (from physics and mathematics) provides an alternative framework: treat price as a state variable in a multi-dimensional phase space. In this view, each market condition corresponds to a point in N-dimensional space, and market evolution is a trajectory through this space. The geometry of this space (its topology) constrains what trajectories are possible.
Manifold embedding reconstructs this hidden geometric structure from observable price data. By creating coordinates from velocity, momentum acceleration, and volume-weighted returns, we map price evolution onto a 3D surface. This surface—the manifold—reveals geometric relationships that aren't visible in price charts alone.
The mathematical theorem underlying this approach (Takens' Embedding Theorem from dynamical systems theory) proves that for deterministic or weakly stochastic systems, a state space reconstruction from time-delayed observations of a single variable captures the essential dynamics of the full system. We apply this principle: even though we only observe price, the embedded coordinates (derivatives of price) reconstruct the underlying dynamical structure.
Why Catastrophe Theory?
Catastrophe theory, developed by mathematician René Thom (Fields Medal 1958), describes how continuous systems can undergo sudden discontinuous changes when control parameters reach critical values. A classic example: gradually increasing force on a beam causes smooth bending, then sudden catastrophic buckling. The beam's geometry reaches a critical curvature where topology must break.
Markets exhibit analogous behavior: gradual price changes build tension in the manifold topology until critical distortion is reached, then abrupt directional change occurs (reversal). Catastrophes aren't random—they're mathematically necessary when geometric constraints are violated.
The indicator detects these geometric precursors: high curvature (manifold bending sharply), high complexity (topology oscillating chaotically), high condition number (coordinate mapping becoming singular). These metrics quantify how close the manifold is to a catastrophic fold. When all simultaneously reach extreme values, topology break is imminent.
This provides a logical foundation for reversal detection that doesn't rely on pattern recognition or historical correlation. We're measuring geometric properties that mathematically must change when systems reach critical states. This is why the approach works across different instruments and timeframes—the underlying geometry is universal.
Why Hurst Exponent?
Markets exhibit fractal behavior: patterns at different time scales show statistical self-similarity. The Hurst exponent quantifies this fractal structure by measuring long-range dependence in returns.
Critically for trading, Hurst determines whether recent price movement predicts future direction (H > 0.5) or predicts the opposite (H < 0.5). This is regime detection: trending vs mean-reverting behavior.
The same manifold catastrophe has different trading implications depending on regime. In trending regime (high Hurst), catastrophes represent significant reversal opportunities because the manifold has been building directional momentum that suddenly breaks. In mean-reverting regime (low Hurst), catastrophes represent minor oscillations because the manifold constantly folds at small scales.
By weighting catastrophe signals based on Hurst, the system adapts detection sensitivity to the current fractal regime. This is a form of meta-analysis: not just detecting geometric breaks, but evaluating whether those breaks are meaningful in the current fractal context.
Why Multi-Layer Confirmation?
Geometric anomalies occur frequently in noisy market data. Not every high-curvature point represents a tradable reversal—many are artifacts of microstructure noise, order flow imbalances, or low-liquidity ticks.
The five-filter confirmation system (catastrophe threshold, pivot structure, swing size, volume, regime) addresses this by requiring geometric anomalies to align with observable market evidence. This conjunction-based logic implements the principle: extraordinary claims require extraordinary evidence .
A manifold catastrophe (extraordinary geometric event) alone is not sufficient. We additionally require: price formed a pivot (visible structure), swing was significant (adequate magnitude), volume confirmed participation (capital backed the move), and regime was favorable (trending or volatile, not chopping). Only when all five dimensions agree do we have sufficient evidence that the geometric anomaly represents a genuine reversal opportunity rather than noise.
This multi-dimensional approach is analogous to medical diagnosis: no single test is conclusive, but when multiple independent tests all suggest the same condition, confidence increases dramatically. Each filter removes a different category of false signals, and their combination creates a robust detection system.
The result is a signal set with dramatically improved reliability compared to any single metric alone. This is the power of ensemble methods applied to geometric analysis.
Important Disclaimers
This indicator applies mathematical topology and catastrophe theory to multi-dimensional price space reconstruction. It identifies geometric conditions where manifold curvature, topological complexity, and coordinate singularities suggest potential reversal zones based on phase space analysis. It should not be used as a standalone trading system.
The embedding coordinates, catastrophe scores, and Hurst calculations are deterministic mathematical formulas applied to historical price data. These measurements describe current and recent geometric relationships in the reconstructed manifold but do not predict future price movements. Past geometric patterns and singularity markers do not guarantee future market behavior will follow similar topology evolution.
The manifold reconstruction assumes certain mathematical properties (sufficient embedding dimension, quasi-stationarity, continuous dynamics) that may not hold in all market conditions. Gaps, flash crashes, circuit breakers, news events, and other discontinuities can violate these assumptions. The system attempts to filter problematic conditions through regime classification, but cannot eliminate all edge cases.
The spectral decomposition, energy fields, and probability cones are visualization aids that represent mathematical constructs, not price predictions. The probability cone projects current gradient forward assuming topology continues current trajectory—this is a mathematical "if-then" statement, not a forecast. Market topology can and does change unexpectedly.
All trading involves substantial risk. The singularity markers represent analytical conditions where geometric mathematics align with threshold criteria, not certainty of directional change. Use appropriate risk management for every trade: position sizing based on account risk tolerance (typically 1-2% maximum risk per trade), stop losses placed beyond recent structure plus volatility buffer, and never risk capital needed for living expenses.
The confirmation filters (pivot, swing size, volume, regime) are designed to reduce false signals but cannot eliminate them entirely. Markets can produce geometric anomalies that pass all filters yet fail to develop into sustained reversals. This is inherent to probabilistic systems operating on noisy real-world data.
No indicator can guarantee profitable trades or eliminate losses. The catastrophe detection provides an analytical framework for identifying potential reversal conditions, but actual trading outcomes depend on numerous factors including execution, slippage, spreads, position sizing, risk management, psychological discipline, and market conditions that may change after signal generation.
Use this tool as one component of a comprehensive trading plan that includes multiple forms of analysis, proper risk management, emotional discipline, and realistic expectations about win rates and drawdowns. Combine catastrophe signals with additional confirmation methods such as support/resistance analysis, volume patterns, multi-timeframe alignment, and broader market context.
The spacing filter, cooldown mechanism, and regime validation are designed to reduce noise and over-signaling, but market conditions can change rapidly and render any analytical signal invalid. Always use stop losses and never risk capital you cannot afford to lose. Past performance of detection accuracy does not guarantee future results.
Technical Implementation Notes
All calculations execute on closed bars only—signals and metric values do not repaint after bar close. The indicator does not use any lookahead bias in its calculations. However, the pivot detection mechanism (ta.pivothigh and ta.pivotlow) inherently identifies pivots with a lag equal to the lookback parameter, meaning the actual pivot occurred at bar but is recognized at bar . This is standard behavior for pivot functions and is not repainting—once recognized, the pivot bar never changes.
The normalization system (z-score transformation over rolling windows) requires approximately 30-50 bars of historical data to establish stable statistics. Values in the first 30-50 bars after adding the indicator may show instability as the rolling means and standard deviations converge. Allow adequate warmup period before relying on signals.
The spectral layer arrays, energy field boxes, gradient flow labels, and node geometry lines are subject to TradingView drawing object limits (500 lines, 500 boxes, 500 labels per indicator as specified in settings). The system implements automatic cleanup by deleting oldest objects when limits approach, but on very long charts with many signals, some historical visual elements may be removed to stay within limits. This does not affect signal generation or dashboard metrics—only historical visual artifacts.
Dashboard and visual rendering update only on the last bar to minimize computational overhead. The catastrophe detection logic executes on every bar, but table cells and drawing objects refresh conditionally to optimize performance. If experiencing chart lag, reduce visual complexity: disable spectral layers, energy fields, or flow field to improve rendering speed. Core signal detection continues to function with all visual elements disabled.
The Hurst calculation uses logarithmic returns rather than raw price to ensure stationarity, and implements clipping to range to handle edge cases where R/S analysis produces invalid values (which can occur during extended periods of identical prices or numerical overflow). The 5-period EMA smoothing reduces noise while maintaining responsiveness to regime transitions.
The condition number calculation adds epsilon (1e-10) to denominators to prevent division by zero when Jacobian determinant approaches zero—which is precisely the singularity condition we're detecting. This numerical stability measure ensures the indicator doesn't crash when detecting the very phenomena it's designed to identify.
The indicator has been tested across multiple timeframes (5-minute through daily) and multiple asset classes (forex majors, stock indices, individual equities, cryptocurrencies, commodities, futures). It functions identically across all instruments due to the adaptive normalization approach and percentage-based metrics. No instrument-specific code or parameter sets are required.
The color scheme system implements seven preset themes plus custom mode. Color assignments are applied globally and affect all visual elements simultaneously. The opacity calculation system multiplies component-specific transparency with master opacity to create hierarchical control—adjusting master opacity affects all visuals proportionally while maintaining their relative transparency relationships.
All alert conditions trigger only on bar close to prevent false alerts from intrabar fluctuations. The regime transition alerts (VALID/INVALID) are particularly useful for knowing when trading edge appears or disappears, allowing traders to adjust activity levels accordingly.
— Dskyz, Trade with insight. Trade with anticipation.






















